From d3d059cf53625ddfe2ff4f64759131e846f83b94 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 3 May 2010 18:30:38 +0200 Subject: [PATCH] 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). --- ChangeLog | 9 +++++++++ tests/test-xalloc-die.sh | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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;; -- 2.11.0