]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
redirect stderr to /dev/full, too (to suppress write error diagnostic)
authorJim Meyering <jim@meyering.net>
Thu, 22 Dec 2005 15:40:00 +0000 (15:40 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 22 Dec 2005 15:40:00 +0000 (15:40 +0000)
tests/help-version

index 409d2e86c0a43ac23160b9af169bcaa77d0bf501..6314c694d0e14c6771ef1325977a434bbf377c30 100755 (executable)
@@ -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