]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(expected_failure_status_vdir):
authorJim Meyering <jim@meyering.net>
Tue, 7 Feb 2006 09:18:28 +0000 (09:18 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 7 Feb 2006 09:18:28 +0000 (09:18 +0000)
Redirect an expected disk-full diagnostic to /dev/null.

tests/help-version

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