From: Subrata <sub...@us...> - 2008-07-03 10:54:09
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/open In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22527/ltp/testcases/kernel/syscalls/open Modified Files: open08.c Log Message: I've tried LTP and found some wrong mode at creating file/dir in LTP source files. Here is a patch. Junjiro Okajima<hoo...@ya...>. Index: open08.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/open/open08.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** open08.c 9 Feb 2007 20:48:24 -0000 1.15 --- open08.c 3 Jul 2008 10:52:12 -0000 1.16 *************** *** 117,121 **** for (i = 0; i < TST_TOTAL; i++) { ! TEST(open(TC[i].fname, TC[i].flags)); if (TEST_RETURN != -1) { --- 117,121 ---- for (i = 0; i < TST_TOTAL; i++) { ! TEST(open(TC[i].fname, TC[i].flags, 0644)); if (TEST_RETURN != -1) { |