a7fa8561a5a095faf6e202a80b0c7729be8bb82d |
|
13-Dec-2016 |
Steven Jackson <sj@oscode.net> |
various: include the POSIX fcntl.h instead of sys/fcntl.h Use the POSIX location for the file. A majority of tests already use fcntl.h and the Android NDK doesn't have sys/fcntl.h. Signed-off-by: Steven Jackson <sj@oscode.net> Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
d6d11d08678aac1ed2c370ea8e42e5f45aea07be |
|
09-Mar-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Introduce tst_parse_opts() The pattern that was used in all testcases is: const char *msg; msg = parse_opts(...); if (msg) tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg); This change simplifies the steps to just calling: tst_parse_opts(...); Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
aabb8340f63ed31afe995fd97795e542dc68b93c |
|
04-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Include usctest.h in test.h Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
605fa3362fd7cef0baa2131be32cf44661783d3e |
|
04-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Get rid of TEST_CLEANUP Special thanks to Coccinelle for making this easy job. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
526fdf8d8ea3b43b73de7cc25eb754f12702c8d2 |
|
04-Dec-2014 |
Cyril Hrubis <chrubis@suse.cz> |
Change tst_resm() followed by tst_exit() to tst_brkm() Created with coccinelle patch: @@ expression list L; expression C != {TINFO, TPASS}; @@ - tst_resm + tst_brkm (C, + NULL, L); - tst_exit(); Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
d218f348c12b42a78fa0306d9a033bfa4f67238b |
|
23-Sep-2014 |
Cyril Hrubis <chrubis@suse.cz> |
Remove useless malloc() casts. Created with coccinelle patch: @@ expression E1, E2; type T; @@ - E1 = (T)malloc(E2) + E1 = malloc(E2) Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
0b9589f3f9c0345b29cfcf7da5a1253c708303eb |
|
27-May-2014 |
Cyril Hrubis <chrubis@suse.cz> |
testcases: Constify char *msg variable. The parse_opts() now returns const char * instead of char * this commit fixes all warnings caused by the change. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
c57fba5535abf457e33dd7a986b6c512d95cdef6 |
|
10-Apr-2014 |
Mike Frysinger <vapier@gentoo.org> |
testcases/kernel/syscalls: clean up old style prototypes Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
89af32a63ce8a780ea39337339e14caae244b5a4 |
|
24-Oct-2012 |
Cyril Hrubis <chrubis@suse.cz> |
Another semiautomated cleanup. This patch removes all dumbious comments as: /* loop counter */ /* message returned from from parse_opts */ /* parse standard options */ Various variations on: int i; /* ... counter .... */ Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 |
|
19-Oct-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
Update FSF address find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \; find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \; Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
ec6edca7aa42b6affd989ef91b5897f96795e40f |
|
18-Oct-2012 |
Chris Dearman <chris@mips.com> |
Add missing newline at end of file This is a scripted change done using the following command: find . -type d -name .git -prune -o \ -type f \! -name \*\~ \! -name .\#\* \ \! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \ xargs -0 sed -i -e '$a\' Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
1e6f5a673655551de5734ff31ef48cd63b604e6d |
|
19-Dec-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Resolving all compile errors via a script This may leave dupe calls to tst_exit in main, but those are easier to deal (and much less) than no-compile scenarios. As a side-effect, fix all trailing whitespace issues. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
1569799abe4296fc5ca50ede305c1eb2ac482422 |
|
18-Dec-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Fix some tests. Remove all externs to Tst_count. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
2c28215423293e443469a07ae7011135d058b671 |
|
16-Dec-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Style and conformance changes. 1. Strip all leading space. 2. Move tst_exit() to main(). 3. Remove tst_exit() from cleanup(). 4. Remove cluebat comments. 5. Reduce some unnecessary whitespace. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
45e285d46ab47b0ff76c88acb5ba97b0bd5f753d |
|
22-Nov-2010 |
Garrett Cooper <yanegomi@gmail.com> |
Remove useless casts. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
56207cec7732e09c216c751c0b5f88a242bacae6 |
|
23-Mar-2009 |
subrata_modak <subrata_modak> |
Coding Syle Cleanups. Signed-Off-By: <michal.simek@petalogix.com>.
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
bdbaec51a423e715c2b03ed9e497e9a1fba6103e |
|
26-Feb-2009 |
subrata_modak <subrata_modak> |
Clean Trailing Tab: Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
4bb656a129f7507823e9e6d6b98b1a02fd80ef89 |
|
26-Feb-2009 |
subrata_modak <subrata_modak> |
Clear Trailing Whitespace. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
43337a3cf6f8809647cf9fc6c0054241f44b1fb1 |
|
26-Feb-2009 |
subrata_modak <subrata_modak> |
Fix return(0) to return 0. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
814e03cb08b7706002c63b7a6fe0e6e228fe3e01 |
|
11-Nov-2008 |
subrata_modak <subrata_modak> |
Prevent leaving files in the temporary directory by calling tst_rmdir, or cleanup, where appropriate. Signed-off-by: Jiri Palecek <jpalecek@web.de>.
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
24fc21390fe719f9f71d6e3bd707fce4f0826164 |
|
11-Nov-2008 |
subrata_modak <subrata_modak> |
when building Debian ltp package on alpha, the package failed to build, because alpha lacks some of the syscalls (the xxx_16 ones). See: http://experimental.debian.net/fetch.php?&pkg=ltp&ver=20081031%2Bdfsg-1&arch=alpha&stamp=1225968365&file=log&as=raw I have created some patches, which fix this behaviour (ie. the build doesn't fail then). They work like this: 1. Syscalls which are potentially missing on some architectures are listed in the stub-list, 2. If a syscall(x) is called and x is 0 (a value of undefined stub syscalls), the test is aborted by tst_brk(). This is accomplished by a macro wrapper over the syscall() function (this almost eliminates the need of changing the tests in question, and allows the compiler to eliminate parts of tests of nonexistent syscalls as dead code). The attached patches implement this. Some remarks: - the syscalls added to the stub list are the ones which appear in the kernel sources as __IGNORE_name-of-syscall, - the macro is for gcc only. The test using this mechanism (ie. #including linux_syscall_numbers.h and calling syscall()) must define static function void cleanup(void) to be called when the syscall is missing (the patch also handles this for tests that lack it). Signed-off-by: Jiri Palecek <jpalecek@web.de>.
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
cff4af016805c764c391c473d4c95b999dcdf148 |
|
11-Feb-2006 |
vapier <vapier> |
remove extraneous whitespace usage in tst_* functions
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
a775110dd7882c1cba6b8dfffe0d993b9796f3b9 |
|
27-Mar-2003 |
robbiew <robbiew> |
warnings cleanup
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|
3c65815c35c71c576b98e800a03d5cb24ef27683 |
|
07-Jan-2003 |
robbiew <robbiew> |
Added pwrite test ported by Airong Zhang.
/external/ltp/testcases/kernel/syscalls/pwrite/pwrite04.c
|