From: Simon Josefsson Date: Mon, 17 Nov 2008 11:25:54 +0000 (+0100) Subject: Work around reported bug in gnulib self-tests. X-Git-Tag: gnutls_2_7_2~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a36db78598cf9a2603db3406a8a9ac3e9a71bf0e;p=thirdparty%2Fgnutls.git Work around reported bug in gnulib self-tests. --- diff --git a/gl/override/tests/test-select-out.sh.diff b/gl/override/tests/test-select-out.sh.diff new file mode 100644 index 0000000000..d6da59cbe2 --- /dev/null +++ b/gl/override/tests/test-select-out.sh.diff @@ -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 diff --git a/gl/tests/test-select-out.sh b/gl/tests/test-select-out.sh index 556aae7b45..488dccd0c8 100755 --- a/gl/tests/test-select-out.sh +++ b/gl/tests/test-select-out.sh @@ -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