summaryrefslogtreecommitdiff
path: root/tests/help-version
diff options
context:
space:
mode:
Diffstat (limited to 'tests/help-version')
-rwxr-xr-xtests/help-version3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/help-version b/tests/help-version
index 6314c694d..c96ca7e47 100755
--- a/tests/help-version
+++ b/tests/help-version
@@ -16,7 +16,8 @@ expected_failure_status_vdir=2
case "$all_programs" in
*groups*)
- if test -w /dev/full && test -c /dev/full && echo > /dev/full 2>&1; then
+ if test -w /dev/full && test -c /dev/full \
+ && echo > /dev/full 2>/dev/null; then
cat 1>&2 <<\EOF
************************************************
WARNING: On this system, the built-in echo function of /bin/sh