[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-cvs
Subject: [Ltp-cvs] ltp/testcases/kernel/syscalls/open open08.c,1.9,1.10
From: robbiew () users ! sourceforge ! net
Date: 2004-01-13 16:05:55
Message-ID: E1AgR3D-0003zP-00 () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/open
In directory sc8-pr-cvs1:/tmp/cvs-serv15184
Modified Files:
open08.c
Log Message:
Applied patch from Randy Hron:
==============================
Test 5 of open08 tries to open /usr/bin/test. The test
will fail if /usr/bin/test isn't there. The location of
"test" isn't specified in the Linux Filesystem Hierarchy.
So, use a file that FHS specifies the location of. I.E.
/bin/cat, /bin/cp, /bin/ls.
==============================
Index: open08.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/open/open08.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- open08.c 27 Mar 2003 16:39:01 -0000 1.9
+++ open08.c 13 Jan 2004 16:05:53 -0000 1.10
@@ -72,7 +72,7 @@
char * bad_addr = 0;
char filename[40] = "";
-char fname[] = "/usr/bin/test"; /* test executable to open */
+char fname[] = "/bin/cat"; /* test executable to open */
char bad_file[] = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmn \
opqrstmnopqrstuvwxyzabcdefghijklmnopqrstmnopqrstuvwxyzabcdefghijklmnopqrstmnopqrstuvwx \
yzabcdefghijklmnopqrstmnopqrstuvwxyzabcdefghijklmnopqrstmnopqrstuvwxyzabcdefghijklmnopqrstmnopqrstuvwxyz";
struct test_case_t {
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Ltp-cvs mailing list
Ltp-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic