diff options
author | Jim Meyering <meyering@redhat.com> | 2011-06-13 18:20:14 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-06-13 18:34:03 +0200 |
commit | 83e424e7319e8ef2e3398aefbaade972770a6f97 (patch) | |
tree | 5079388512328d3e1e17dade0eabf62df3494822 /tests | |
parent | 6fb9aeedd1b858a61d5cbf7f15782adf29ff733a (diff) | |
download | coreutils-83e424e7319e8ef2e3398aefbaade972770a6f97.tar.xz |
maint: revert previous commit
Revert "init.sh: accommodate shells for which 1>&$stderr_fileno_ fails"
This reverts commit 6fb9aeedd1b858a61d5cbf7f15782adf29ff733a.
That change did not solve the problem. For details, see
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8846#74
Diffstat (limited to 'tests')
-rw-r--r-- | tests/init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh index 25850afea..14f2e26e0 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } # the reason for skip/failure to console, rather than to the .log files. : ${stderr_fileno_=2} -warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } +warn_ () { echo "$@" 1>&$stderr_fileno_; } fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } |