From: Jim Meyering Date: Wed, 27 Nov 1996 05:06:09 +0000 (+0000) Subject: . X-Git-Tag: TEXTUTILS-1_19q~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a62ae1a5cecc5d0fb3814de5634c7b9fcbd8672;p=thirdparty%2Fcoreutils.git . --- diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 7cac0608c4..7bdd8a2687 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 26 23:05:14 1996 Jim Meyering + + * src/sort.c (fraccompare): Add explicit `int' in `register' dcls, + to avoid new warning from gcc. + Sun Nov 24 21:02:15 1996 Jim Meyering * tests/sort-test/Makefile.am (t): Add names of those 5 tests. diff --git a/tests/sort/sort-tests b/tests/sort/sort-tests index 78d47a2cfd..359d638a6a 100755 --- a/tests/sort/sort-tests +++ b/tests/sort/sort-tests @@ -1301,6 +1301,23 @@ else esac fi test -s t18d.err || rm -f t18d.err +$xx -nb -k1.1,1.2 $srcdir/t18e.in > t18e.out 2> t18e.err +code=$? +if test $code != 0 ; then + $echo Test 18e failed: ../../src/sort return code $code differs from expected value 0 1>&2 + errors=`expr $errors + 1` +else + cmp t18e.out $srcdir/t18e.exp + case $? in + 0) if test "$VERBOSE" ; then $echo passed 18e; fi ;; # equal files + 1) $echo Test 18e failed: files t18e.out and $srcdir/t18e.exp differ 1>&2; + errors=`expr $errors + 1` ;; + 2) $echo Test 18e may have failed. 1>&2; + $echo The command "cmp t18e.out $srcdir/t18e.exp" failed. 1>&2 ; + errors=`expr $errors + 1` ;; + esac +fi +test -s t18e.err || rm -f t18e.err if test $errors = 0 ; then $echo Passed all tests. 1>&2 else