# HG changeset patch # User Eric Blake # Date 1193067567 21600 # Node ID f91466f94f239d6e3171f35a879974810e6221f5 # Parent e6944904022bbf4dc12bcfae6ed31ed4a3e8b6fb * tests/test-yesno.sh: Silence stderr during test. Signed-off-by: Eric Blake diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-10-22 Eric Blake + + * tests/test-yesno.sh: Silence stderr during test. + 2007-10-22 Simon Josefsson * modules/crypto/gc-camellia: New file. diff --git a/tests/test-yesno.sh b/tests/test-yesno.sh --- a/tests/test-yesno.sh +++ b/tests/test-yesno.sh @@ -4,7 +4,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15 p=t-yesno- -tmpfiles="${p}in.tmp ${p}xout.tmp ${p}out.tmp" +tmpfiles="${p}in.tmp ${p}xout.tmp ${p}out.tmp ${p}err.tmp" # For now, only test with C locale LC_ALL=C @@ -49,8 +49,9 @@ cmp ${p}xout.tmp ${p}out.tmp || exit 1 # Test for behavior when stdin is closed -./test-yesno${EXEEXT} 0 <&- > ${p}out.tmp && exit 1 +./test-yesno${EXEEXT} 0 <&- > ${p}out.tmp 2> ${p}err.tmp && exit 1 cmp ${p}xout.tmp ${p}out.tmp || exit 1 +test -s ${p}err.tmp || exit 1 # Cleanup rm -fr $tmpfiles