summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-12-22 15:40:00 +0000
committerJim Meyering <jim@meyering.net>2005-12-22 15:40:00 +0000
commitb5bfbe23852a37c90948e9ca9d4091d6eed056b7 (patch)
tree509ed44d97763db847b4ed788d0a8cbeba6a1d8a /tests
parent2bd65173c28f14e948c00546029fc38f47385204 (diff)
downloadcoreutils-b5bfbe23852a37c90948e9ca9d4091d6eed056b7.tar.xz
redirect stderr to /dev/full, too (to suppress write error diagnostic)
Diffstat (limited to 'tests')
-rwxr-xr-xtests/help-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/help-version b/tests/help-version
index 409d2e86c..6314c694d 100755
--- a/tests/help-version
+++ b/tests/help-version
@@ -16,7 +16,7 @@ expected_failure_status_vdir=2
case "$all_programs" in
*groups*)
- if test -w /dev/full && test -c /dev/full && echo > /dev/full; then
+ if test -w /dev/full && test -c /dev/full && echo > /dev/full 2>&1; then
cat 1>&2 <<\EOF
************************************************
WARNING: On this system, the built-in echo function of /bin/sh