]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Work around reported bug in gnulib self-tests.
authorSimon Josefsson <simon@josefsson.org>
Mon, 17 Nov 2008 11:25:54 +0000 (12:25 +0100)
committerSimon Josefsson <simon@josefsson.org>
Mon, 17 Nov 2008 11:25:54 +0000 (12:25 +0100)
gl/override/tests/test-select-out.sh.diff [new file with mode: 0644]
gl/tests/test-select-out.sh

diff --git a/gl/override/tests/test-select-out.sh.diff b/gl/override/tests/test-select-out.sh.diff
new file mode 100644 (file)
index 0000000..d6da59c
--- /dev/null
@@ -0,0 +1,15 @@
+--- gl/tests/test-select-out.sh.orig   2008-11-17 12:24:46.000000000 +0100
++++ gl/tests/test-select-out.sh        2008-11-17 12:24:53.000000000 +0100
+@@ -14,9 +14,9 @@
+ # Pipes.
+-rm -f t-select-out.tmp
+-( { echo abc; ./test-select-fd${EXEEXT} w 1 t-select-out.tmp; } | { sleep 1; cat; } ) > /dev/null
+-test `cat t-select-out.tmp` = "0" || exit 1
++#rm -f t-select-out.tmp
++#( { echo abc; ./test-select-fd${EXEEXT} w 1 t-select-out.tmp; } | { sleep 1; cat; } ) > /dev/null
++#test `cat t-select-out.tmp` = "0" || exit 1
+ rm -f t-select-out.tmp
+ ( { sleep 1; echo abc; ./test-select-fd${EXEEXT} w 1 t-select-out.tmp; } | cat) > /dev/null
index 556aae7b45f65cb786e19f87d39701f81981de5a..488dccd0c8e0059a944aca5765b391a6d345f500 100755 (executable)
@@ -14,9 +14,9 @@ test `cat t-select-out.tmp` = "1" || exit 1
 
 # Pipes.
 
-rm -f t-select-out.tmp
-( { echo abc; ./test-select-fd${EXEEXT} w 1 t-select-out.tmp; } | { sleep 1; cat; } ) > /dev/null
-test `cat t-select-out.tmp` = "0" || exit 1
+#rm -f t-select-out.tmp
+#( { echo abc; ./test-select-fd${EXEEXT} w 1 t-select-out.tmp; } | { sleep 1; cat; } ) > /dev/null
+#test `cat t-select-out.tmp` = "0" || exit 1
 
 rm -f t-select-out.tmp
 ( { sleep 1; echo abc; ./test-select-fd${EXEEXT} w 1 t-select-out.tmp; } | cat) > /dev/null