summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-01-03 09:50:23 +0000
committerEric Andersen <andersen@codepoet.org>2004-01-03 09:50:23 +0000
commit72cfde1f998c68e8269ef8c372c1b67a7bd7bdb5 (patch)
tree24b15501541e13b8d5b53c8414e1e6b1fe0bc7f7 /sources
parent60983a8faa83a9169ed294c6361289e8b1beca9f (diff)
Fix some more ltp bugs
Diffstat (limited to 'sources')
-rw-r--r--sources/ltp-testsuite.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/sources/ltp-testsuite.patch b/sources/ltp-testsuite.patch
index 418cb6dd4..2d6975930 100644
--- a/sources/ltp-testsuite.patch
+++ b/sources/ltp-testsuite.patch
@@ -120,3 +120,36 @@
local_flag = FAILED;
}
i++;
+--- ltp-full-20031106/testcases/kernel/syscalls/ipc/msgctl/msgctl08.c.orig 2004-01-03 02:26:31.000000000 -0700
++++ ltp-full-20031106/testcases/kernel/syscalls/ipc/msgctl/msgctl08.c 2004-01-03 02:26:48.000000000 -0700
+@@ -399,7 +399,7 @@
+ /* FIXME: Start at -4 because ipcs prints four lines of header */
+ for (used_queues = -4; fgets(buff, BUFSIZE, f); used_queues++)
+ ;
+- fclose(f);
++ pclose(f);
+ if (used_queues < 0) {
+ tst_resm(TBROK,"Could not read output of 'ipcs' to calculate used message queues");
+ tst_exit();
+--- ltp-full-20031106/testcases/kernel/syscalls/ipc/msgctl/msgctl09.c.orig 2004-01-03 02:26:36.000000000 -0700
++++ ltp-full-20031106/testcases/kernel/syscalls/ipc/msgctl/msgctl09.c 2004-01-03 02:26:53.000000000 -0700
+@@ -563,7 +563,7 @@
+ /* FIXME: Start at -4 because ipcs prints four lines of header */
+ for (used_queues = -4; fgets(buff, BUFSIZE, f); used_queues++)
+ ;
+- fclose(f);
++ pclose(f);
+ if (used_queues < 0) {
+ tst_resm(TBROK,"Could not read output of 'ipcs' to calculate used message queues");
+ tst_exit();
+--- ltp-full-20031106/testcases/kernel/syscalls/getcwd/getcwd03.orig.c 2004-01-03 02:43:05.000000000 -0700
++++ ltp-full-20031106/testcases/kernel/syscalls/getcwd/getcwd03.c 2004-01-03 02:43:19.000000000 -0700
+@@ -242,7 +242,7 @@
+ char *
+ getpwd()
+ {
+- FILE *fin, *popen();
++ FILE *fin;
+ char *pwd = "/bin/pwd";
+ char *cp, *cp_cur;
+ char *buf;