From: Jim Meyering Date: Mon, 3 May 2010 16:30:38 +0000 (+0200) Subject: test-xalloc-die: avoid unwarranted test failure on OpenSolaris 5.11 X-Git-Tag: v0.1~4182 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=d3d059cf53625ddfe2ff4f64759131e846f83b94;p=gnulib.git test-xalloc-die: avoid unwarranted test failure on OpenSolaris 5.11 * tests/test-xalloc-die.sh: Redirect stdout before stderr, (i.e., "> out 2> err", rather than "2> err > out"). Otherwise, with /bin/sh on OpenSolaris 5.11 snv_134, we would end up with a stray "1> out" line in the "err2" output file when running "make check" in verbose mode (i.e., with set -x enabled). --- diff --git a/ChangeLog b/ChangeLog index 4378ddbc9..0ec11b96a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-05-03 Jim Meyering + + test-xalloc-die: avoid unwarranted test failure on OpenSolaris 5.11 + * tests/test-xalloc-die.sh: Redirect stdout before stderr, (i.e., + "> out 2> err", rather than "2> err > out"). Otherwise, with /bin/sh + on OpenSolaris 5.11 snv_134, we would end up with a stray "1> out" + line in the "err2" output file when running "make check" in verbose + mode (i.e., with set -x enabled). + 2010-05-03 Bruno Haible wctob: Fix for weird platforms. diff --git a/tests/test-xalloc-die.sh b/tests/test-xalloc-die.sh index 80d6208d0..375cd14e1 100755 --- a/tests/test-xalloc-die.sh +++ b/tests/test-xalloc-die.sh @@ -18,7 +18,7 @@ . "${srcdir=.}/init.sh"; path_prepend_ . -test-xalloc-die${EXEEXT} 2> err > out +test-xalloc-die${EXEEXT} > out 2> err case $? in 1) ;; *) Exit 1;;