summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-03-01 10:39:12 +0100
committerJim Meyering <meyering@redhat.com>2008-03-01 10:39:12 +0100
commite81d5a49b798782b3dd0b1c0954561c9aebc1ba9 (patch)
treefcb38988f3abb0d8fb565e7affa01e2626245d85
parent710e5f32fc9631c545a070f243bf829e98bc115c (diff)
downloadcoreutils-e81d5a49b798782b3dd0b1c0954561c9aebc1ba9.tar.xz
Don't exempt "groups" from write-failure test, now that it's a C program.
* tests/misc/help-version: Since groups is no longer a shell script, a buggy bourne shell can't cause trouble.
-rwxr-xr-xtests/misc/help-version25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/misc/help-version b/tests/misc/help-version
index 6c1565dcd..b54a7d8f4 100755
--- a/tests/misc/help-version
+++ b/tests/misc/help-version
@@ -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