From: Jim Meyering Date: Thu, 22 Dec 2005 15:40:00 +0000 (+0000) Subject: redirect stderr to /dev/full, too (to suppress write error diagnostic) X-Git-Tag: v6.0~1050 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5bfbe23852a37c90948e9ca9d4091d6eed056b7;p=thirdparty%2Fcoreutils.git redirect stderr to /dev/full, too (to suppress write error diagnostic) --- diff --git a/tests/help-version b/tests/help-version index 409d2e86c0..6314c694d0 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