b0bd0ad871ce94fcb83084bc573c8eeb99fbc508 |
|
24-Aug-2017 |
Matthew Dawson <matthew@mjdsystems.ca> |
misc: Add sys/sysmacros.h header to includes when makedev is used. According to makedev(3), the makedev macro is defined in sys/sysmacros.h. On later versions of glibc, this seems to now be enforced and the build fails. Once added the code compiles as usual. Signed-off-by: Matthew Dawson <matthew@mjdsystems.ca>
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.c
|
3337c31d357747a14a06707e7a1b7001f14f7805 |
|
11-Dec-2015 |
Eryu Guan <eguan@redhat.com> |
syscalls: avoid creating whiteout device in tests A char device with major 0 and minor 0 is known as whiteout device [1] and overlayfs refuses to create such device. mknod01 and mount02 fail on overlayfs because of this restriction. Fix it by creating null device instead. [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/filesystems/overlayfs.txt?h=v4.3#n92 Signed-off-by: Eryu Guan <eguan@redhat.com> Reviewed-by: Jan Stancek <jstancek@redhat.com>
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.c
|
d1e794d62b1bf619df8390535e4c2a58899b1145 |
|
30-Jul-2015 |
Cyril Hrubis <chrubis@suse.cz> |
lib: Get rid of unused tst_require_root() callback Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.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/mknod/mknod01.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/mknod/mknod01.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/mknod/mknod01.c
|
c183203b4f49a053c9a8390ab8a92583b789727b |
|
02-Jun-2014 |
Cyril Hrubis <chrubis@suse.cz> |
syscalls/mknod01: Remove CRAY ifdefs * Remove CRAY ifdefs * Cleanup, SAFE_MACROS, ... Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.c
|
e38b961c385192f0d804914b77bd590734b42e75 |
|
02-Jun-2014 |
Cyril Hrubis <chrubis@suse.cz> |
Remove STD_FUNCTIONAL_TEST Only small part of the testcases was using STD_FUNCTIONAL_TEST and these that were actually using it mostly misused the interface or used it only to disable the tst_rest(TPASS, "sycall passed") message. The default value was STD_FUNCTION_TEST enabled, so this only removes code that is not executed in LTP testrun and there should be no functional changes. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.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/mknod/mknod01.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/mknod/mknod01.c
|
fdce7d5e2a219d201a2b0e3bab6b61b01ec1d716 |
|
04-Apr-2013 |
Cyril Hrubis <chrubis@suse.cz> |
Another semiautomated cleanup. Remove comments such as: - /* Test program identifier. */ - /* Total number of test cases. */ - /* Extern Global Variables */ - /* Harness Specific Include Files. */ - /* Standard Include Files */ - /* Parse standard options given to run the test. */ - etc. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.c
|
d59a659cd639ca2780b00049d102acd2a783d585 |
|
07-Mar-2013 |
Caspar Zhang <caspar@casparzhang.com> |
s/Tst_count/tst_count/ to avoid CamelCase when using latest checkpatch.pl, CamelCase variables are not encouraged, this patch does a batch update to replace all var `Tst_count` with `tst_count`. Signed-off-by: Caspar Zhang <caspar@casparzhang.com> Acked-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.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/mknod/mknod01.c
|
fed9641096e27f79a0f2d9adfe9839dd8d11dc0f |
|
24-Oct-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
Fix FSF address find . -type f -exec sed -i 's/the Free Software Foundation, Inc., 59/the Free Software Foundation, Inc.,/g;s/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/mknod/mknod01.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/mknod/mknod01.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/mknod/mknod01.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/mknod/mknod01.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/mknod/mknod01.c
|
923b23ff1fd1b77bd895949f9a6b4508c6485f33 |
|
02-Nov-2009 |
subrata_modak <subrata_modak> |
Other compiler warning fixes: this is another chunk of compiler warning fixes in LTP tests, related to printf format strings. They have multiple causes: - most of them are caused by %d used for the TEST_RETURN variable (as in a previous patch), - off_t are cast to (int64_t) and PRId64 output specifier is used for them, - other types are cast to (intmax_t) or (uintmax_t) and use the %jd or %ju (C99) output specifier. I've used this solution because it's generally correct, easy to use solution that is portable and (IMHO) more readable than using PRId64/PRIu64 and a cast (which you generally can't avoid). This way, there's only a cast, - in ioperm test, address should be declared as unsigned long (according to ioperm(2)), - other little fixes (foo vs. *foo, %S vs. %s, %0 vs. %o). Signed-off-by: Jiri Palecek <jpalecek@web.de>.
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.c
|
56207cec7732e09c216c751c0b5f88a242bacae6 |
|
23-Mar-2009 |
subrata_modak <subrata_modak> |
Coding Syle Cleanups. Signed-Off-By: <michal.simek@petalogix.com>.
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.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/mknod/mknod01.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/mknod/mknod01.c
|
865695bbc89088b9526ea9045410e5afb70a985c |
|
28-Aug-2001 |
plars <plars> |
restructuring work done, and adding about 400 testcases
/external/ltp/testcases/kernel/syscalls/mknod/mknod01.c
|