Don't exempt "groups" from write-failure test, now that it's a C program.
authorJim Meyering <meyering@redhat.com>
Sat, 1 Mar 2008 09:39:12 +0000 (10:39 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 1 Mar 2008 09:39:12 +0000 (10:39 +0100)
* tests/misc/help-version: Since groups is no longer a shell
script, a buggy bourne shell can't cause trouble.

tests/misc/help-version

index 6c1565d..b54a7d8 100755 (executable)
@@ -38,31 +38,6 @@ expected_failure_status_dir=2
 expected_failure_status_ls=2
 expected_failure_status_vdir=2
 
-case "$built_programs" in
-  *groups*)
-    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
-does not report failure when writing to a full device.
-To demonstrate, run this command:
-
-  /bin/sh -c 'echo hello > /dev/full; echo status=$?'
-
-Notice that the failing echo leaves its exit status set to zero
-and does not produce a diagnostic.
-
-That bug in /bin/sh would cause the test of the groups
-scripts to fail, so it is being removed from the list of
-programs checked by this test.
-************************************************
-EOF
-      built_programs=`echo $built_programs | tr ' ' '\n' | grep -v '^groups$'`
-    fi
-  ;;
-esac
-
 fail=0
 
 for lang in C fr da; do