tests: fix spurious failure in self-check-env-sanitize.test
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 23 Apr 2011 22:08:11 +0000 (00:08 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 23 Apr 2011 22:08:11 +0000 (00:08 +0200)
* tests/self-check-env-sanitize.test: Open file descriptor `5'
to stdout.

Fix spurious failure introduced by merge `v1.11-788-g3b0c8d5'.

ChangeLog
tests/self-check-env-sanitize.test

index 8821b0a..7602870 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-04-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: fix spurious failure in self-check-env-sanitize.test
+       * tests/self-check-env-sanitize.test: Open file descriptor `5'
+       to stdout.
+       Fix spurious failure introduced by merge `v1.11-788-g3b0c8d5'.
+
 2011-04-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        testsuite: more environment sanitization
index a8aaec0..3a07c91 100755 (executable)
@@ -21,6 +21,7 @@
 . ./defs-static || exit 1
 
 set -x
+exec 5>&1
 
 for var in me parallel_tests required; do
   env "$var=foo" $SHELL -c '. ./defs' foo.test && exit 1