From e81d5a49b798782b3dd0b1c0954561c9aebc1ba9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 1 Mar 2008 10:39:12 +0100 Subject: 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. --- tests/misc/help-version | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'tests/misc/help-version') 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 -- cgit v1.2.3-54-g00ecf