summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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