diff options
Diffstat (limited to 'tests/tail/tail-tests')
-rwxr-xr-x | tests/tail/tail-tests | 200 |
1 files changed, 100 insertions, 100 deletions
diff --git a/tests/tail/tail-tests b/tests/tail/tail-tests index 67909c525..cbdb37885 100755 --- a/tests/tail/tail-tests +++ b/tests/tail/tail-tests @@ -21,7 +21,7 @@ export LANG _POSIX2_VERSION=199209 $xx +2c $srcdir/obs-c1.I > obs-c1.O 2> obs-c1.E code=$? if test $code != 0; then - $echo "Test obs-c1(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c1(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c1.O $srcdir/obs-c1.X > /dev/null 2>&1 @@ -39,7 +39,7 @@ test -s obs-c1.E || rm -f obs-c1.E cat $srcdir/obs-c1.I | _POSIX2_VERSION=199209 $xx +2c > obs-c1.O 2> obs-c1.E code=$? if test $code != 0; then - $echo "Test obs-c1(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c1(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c1.O $srcdir/obs-c1.X > /dev/null 2>&1 @@ -57,7 +57,7 @@ test -s obs-c1.E || rm -f obs-c1.E _POSIX2_VERSION=199209 $xx +2c < $srcdir/obs-c1.I > obs-c1.O 2> obs-c1.E code=$? if test $code != 0; then - $echo "Test obs-c1(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c1(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c1.O $srcdir/obs-c1.X > /dev/null 2>&1 @@ -75,7 +75,7 @@ test -s obs-c1.E || rm -f obs-c1.E _POSIX2_VERSION=199209 $xx +8c $srcdir/obs-c2.I > obs-c2.O 2> obs-c2.E code=$? if test $code != 0; then - $echo "Test obs-c2(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c2(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c2.O $srcdir/obs-c2.X > /dev/null 2>&1 @@ -93,7 +93,7 @@ test -s obs-c2.E || rm -f obs-c2.E cat $srcdir/obs-c2.I | _POSIX2_VERSION=199209 $xx +8c > obs-c2.O 2> obs-c2.E code=$? if test $code != 0; then - $echo "Test obs-c2(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c2(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c2.O $srcdir/obs-c2.X > /dev/null 2>&1 @@ -111,7 +111,7 @@ test -s obs-c2.E || rm -f obs-c2.E _POSIX2_VERSION=199209 $xx +8c < $srcdir/obs-c2.I > obs-c2.O 2> obs-c2.E code=$? if test $code != 0; then - $echo "Test obs-c2(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c2(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c2.O $srcdir/obs-c2.X > /dev/null 2>&1 @@ -129,7 +129,7 @@ test -s obs-c2.E || rm -f obs-c2.E _POSIX2_VERSION=199209 $xx -1c $srcdir/obs-c3.I > obs-c3.O 2> obs-c3.E code=$? if test $code != 0; then - $echo "Test obs-c3(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c3(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c3.O $srcdir/obs-c3.X > /dev/null 2>&1 @@ -147,7 +147,7 @@ test -s obs-c3.E || rm -f obs-c3.E cat $srcdir/obs-c3.I | _POSIX2_VERSION=199209 $xx -1c > obs-c3.O 2> obs-c3.E code=$? if test $code != 0; then - $echo "Test obs-c3(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c3(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c3.O $srcdir/obs-c3.X > /dev/null 2>&1 @@ -165,7 +165,7 @@ test -s obs-c3.E || rm -f obs-c3.E _POSIX2_VERSION=199209 $xx -1c < $srcdir/obs-c3.I > obs-c3.O 2> obs-c3.E code=$? if test $code != 0; then - $echo "Test obs-c3(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c3(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c3.O $srcdir/obs-c3.X > /dev/null 2>&1 @@ -183,7 +183,7 @@ test -s obs-c3.E || rm -f obs-c3.E _POSIX2_VERSION=199209 $xx -9c $srcdir/obs-c4.I > obs-c4.O 2> obs-c4.E code=$? if test $code != 0; then - $echo "Test obs-c4(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c4(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c4.O $srcdir/obs-c4.X > /dev/null 2>&1 @@ -201,7 +201,7 @@ test -s obs-c4.E || rm -f obs-c4.E cat $srcdir/obs-c4.I | _POSIX2_VERSION=199209 $xx -9c > obs-c4.O 2> obs-c4.E code=$? if test $code != 0; then - $echo "Test obs-c4(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c4(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c4.O $srcdir/obs-c4.X > /dev/null 2>&1 @@ -219,7 +219,7 @@ test -s obs-c4.E || rm -f obs-c4.E _POSIX2_VERSION=199209 $xx -9c < $srcdir/obs-c4.I > obs-c4.O 2> obs-c4.E code=$? if test $code != 0; then - $echo "Test obs-c4(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c4(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c4.O $srcdir/obs-c4.X > /dev/null 2>&1 @@ -237,7 +237,7 @@ test -s obs-c4.E || rm -f obs-c4.E _POSIX2_VERSION=199209 $xx -12c $srcdir/obs-c5.I > obs-c5.O 2> obs-c5.E code=$? if test $code != 0; then - $echo "Test obs-c5(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c5(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c5.O $srcdir/obs-c5.X > /dev/null 2>&1 @@ -255,7 +255,7 @@ test -s obs-c5.E || rm -f obs-c5.E cat $srcdir/obs-c5.I | _POSIX2_VERSION=199209 $xx -12c > obs-c5.O 2> obs-c5.E code=$? if test $code != 0; then - $echo "Test obs-c5(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c5(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c5.O $srcdir/obs-c5.X > /dev/null 2>&1 @@ -273,7 +273,7 @@ test -s obs-c5.E || rm -f obs-c5.E _POSIX2_VERSION=199209 $xx -12c < $srcdir/obs-c5.I > obs-c5.O 2> obs-c5.E code=$? if test $code != 0; then - $echo "Test obs-c5(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-c5(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-c5.O $srcdir/obs-c5.X > /dev/null 2>&1 @@ -291,7 +291,7 @@ test -s obs-c5.E || rm -f obs-c5.E _POSIX2_VERSION=199209 $xx -1l $srcdir/obs-l1.I > obs-l1.O 2> obs-l1.E code=$? if test $code != 0; then - $echo "Test obs-l1(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l1(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l1.O $srcdir/obs-l1.X > /dev/null 2>&1 @@ -309,7 +309,7 @@ test -s obs-l1.E || rm -f obs-l1.E cat $srcdir/obs-l1.I | _POSIX2_VERSION=199209 $xx -1l > obs-l1.O 2> obs-l1.E code=$? if test $code != 0; then - $echo "Test obs-l1(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l1(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l1.O $srcdir/obs-l1.X > /dev/null 2>&1 @@ -327,7 +327,7 @@ test -s obs-l1.E || rm -f obs-l1.E _POSIX2_VERSION=199209 $xx -1l < $srcdir/obs-l1.I > obs-l1.O 2> obs-l1.E code=$? if test $code != 0; then - $echo "Test obs-l1(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l1(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l1.O $srcdir/obs-l1.X > /dev/null 2>&1 @@ -345,7 +345,7 @@ test -s obs-l1.E || rm -f obs-l1.E _POSIX2_VERSION=199209 $xx -1l $srcdir/obs-l2.I > obs-l2.O 2> obs-l2.E code=$? if test $code != 0; then - $echo "Test obs-l2(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l2(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l2.O $srcdir/obs-l2.X > /dev/null 2>&1 @@ -363,7 +363,7 @@ test -s obs-l2.E || rm -f obs-l2.E cat $srcdir/obs-l2.I | _POSIX2_VERSION=199209 $xx -1l > obs-l2.O 2> obs-l2.E code=$? if test $code != 0; then - $echo "Test obs-l2(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l2(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l2.O $srcdir/obs-l2.X > /dev/null 2>&1 @@ -381,7 +381,7 @@ test -s obs-l2.E || rm -f obs-l2.E _POSIX2_VERSION=199209 $xx -1l < $srcdir/obs-l2.I > obs-l2.O 2> obs-l2.E code=$? if test $code != 0; then - $echo "Test obs-l2(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l2(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l2.O $srcdir/obs-l2.X > /dev/null 2>&1 @@ -399,7 +399,7 @@ test -s obs-l2.E || rm -f obs-l2.E _POSIX2_VERSION=199209 $xx -1l $srcdir/obs-l3.I > obs-l3.O 2> obs-l3.E code=$? if test $code != 0; then - $echo "Test obs-l3(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l3(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l3.O $srcdir/obs-l3.X > /dev/null 2>&1 @@ -417,7 +417,7 @@ test -s obs-l3.E || rm -f obs-l3.E cat $srcdir/obs-l3.I | _POSIX2_VERSION=199209 $xx -1l > obs-l3.O 2> obs-l3.E code=$? if test $code != 0; then - $echo "Test obs-l3(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l3(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l3.O $srcdir/obs-l3.X > /dev/null 2>&1 @@ -435,7 +435,7 @@ test -s obs-l3.E || rm -f obs-l3.E _POSIX2_VERSION=199209 $xx -1l < $srcdir/obs-l3.I > obs-l3.O 2> obs-l3.E code=$? if test $code != 0; then - $echo "Test obs-l3(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l3(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l3.O $srcdir/obs-l3.X > /dev/null 2>&1 @@ -453,7 +453,7 @@ test -s obs-l3.E || rm -f obs-l3.E _POSIX2_VERSION=199209 $xx +1l $srcdir/obs-l4.I > obs-l4.O 2> obs-l4.E code=$? if test $code != 0; then - $echo "Test obs-l4(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l4(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l4.O $srcdir/obs-l4.X > /dev/null 2>&1 @@ -471,7 +471,7 @@ test -s obs-l4.E || rm -f obs-l4.E cat $srcdir/obs-l4.I | _POSIX2_VERSION=199209 $xx +1l > obs-l4.O 2> obs-l4.E code=$? if test $code != 0; then - $echo "Test obs-l4(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l4(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l4.O $srcdir/obs-l4.X > /dev/null 2>&1 @@ -489,7 +489,7 @@ test -s obs-l4.E || rm -f obs-l4.E _POSIX2_VERSION=199209 $xx +1l < $srcdir/obs-l4.I > obs-l4.O 2> obs-l4.E code=$? if test $code != 0; then - $echo "Test obs-l4(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l4(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l4.O $srcdir/obs-l4.X > /dev/null 2>&1 @@ -507,7 +507,7 @@ test -s obs-l4.E || rm -f obs-l4.E _POSIX2_VERSION=199209 $xx +2l $srcdir/obs-l5.I > obs-l5.O 2> obs-l5.E code=$? if test $code != 0; then - $echo "Test obs-l5(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l5(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l5.O $srcdir/obs-l5.X > /dev/null 2>&1 @@ -525,7 +525,7 @@ test -s obs-l5.E || rm -f obs-l5.E cat $srcdir/obs-l5.I | _POSIX2_VERSION=199209 $xx +2l > obs-l5.O 2> obs-l5.E code=$? if test $code != 0; then - $echo "Test obs-l5(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l5(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l5.O $srcdir/obs-l5.X > /dev/null 2>&1 @@ -543,7 +543,7 @@ test -s obs-l5.E || rm -f obs-l5.E _POSIX2_VERSION=199209 $xx +2l < $srcdir/obs-l5.I > obs-l5.O 2> obs-l5.E code=$? if test $code != 0; then - $echo "Test obs-l5(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l5(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l5.O $srcdir/obs-l5.X > /dev/null 2>&1 @@ -561,7 +561,7 @@ test -s obs-l5.E || rm -f obs-l5.E _POSIX2_VERSION=199209 $xx -1 $srcdir/obs-1.I > obs-1.O 2> obs-1.E code=$? if test $code != 0; then - $echo "Test obs-1(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-1(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-1.O $srcdir/obs-1.X > /dev/null 2>&1 @@ -579,7 +579,7 @@ test -s obs-1.E || rm -f obs-1.E cat $srcdir/obs-1.I | _POSIX2_VERSION=199209 $xx -1 > obs-1.O 2> obs-1.E code=$? if test $code != 0; then - $echo "Test obs-1(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-1(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-1.O $srcdir/obs-1.X > /dev/null 2>&1 @@ -597,7 +597,7 @@ test -s obs-1.E || rm -f obs-1.E _POSIX2_VERSION=199209 $xx -1 < $srcdir/obs-1.I > obs-1.O 2> obs-1.E code=$? if test $code != 0; then - $echo "Test obs-1(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-1(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-1.O $srcdir/obs-1.X > /dev/null 2>&1 @@ -615,7 +615,7 @@ test -s obs-1.E || rm -f obs-1.E _POSIX2_VERSION=199209 $xx -1 $srcdir/obs-2.I > obs-2.O 2> obs-2.E code=$? if test $code != 0; then - $echo "Test obs-2(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-2(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-2.O $srcdir/obs-2.X > /dev/null 2>&1 @@ -633,7 +633,7 @@ test -s obs-2.E || rm -f obs-2.E cat $srcdir/obs-2.I | _POSIX2_VERSION=199209 $xx -1 > obs-2.O 2> obs-2.E code=$? if test $code != 0; then - $echo "Test obs-2(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-2(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-2.O $srcdir/obs-2.X > /dev/null 2>&1 @@ -651,7 +651,7 @@ test -s obs-2.E || rm -f obs-2.E _POSIX2_VERSION=199209 $xx -1 < $srcdir/obs-2.I > obs-2.O 2> obs-2.E code=$? if test $code != 0; then - $echo "Test obs-2(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-2(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-2.O $srcdir/obs-2.X > /dev/null 2>&1 @@ -669,7 +669,7 @@ test -s obs-2.E || rm -f obs-2.E _POSIX2_VERSION=199209 $xx -1 $srcdir/obs-3.I > obs-3.O 2> obs-3.E code=$? if test $code != 0; then - $echo "Test obs-3(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-3(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-3.O $srcdir/obs-3.X > /dev/null 2>&1 @@ -687,7 +687,7 @@ test -s obs-3.E || rm -f obs-3.E cat $srcdir/obs-3.I | _POSIX2_VERSION=199209 $xx -1 > obs-3.O 2> obs-3.E code=$? if test $code != 0; then - $echo "Test obs-3(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-3(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-3.O $srcdir/obs-3.X > /dev/null 2>&1 @@ -705,7 +705,7 @@ test -s obs-3.E || rm -f obs-3.E _POSIX2_VERSION=199209 $xx -1 < $srcdir/obs-3.I > obs-3.O 2> obs-3.E code=$? if test $code != 0; then - $echo "Test obs-3(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-3(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-3.O $srcdir/obs-3.X > /dev/null 2>&1 @@ -723,7 +723,7 @@ test -s obs-3.E || rm -f obs-3.E _POSIX2_VERSION=199209 $xx +1 $srcdir/obs-4.I > obs-4.O 2> obs-4.E code=$? if test $code != 0; then - $echo "Test obs-4(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-4(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-4.O $srcdir/obs-4.X > /dev/null 2>&1 @@ -741,7 +741,7 @@ test -s obs-4.E || rm -f obs-4.E cat $srcdir/obs-4.I | _POSIX2_VERSION=199209 $xx +1 > obs-4.O 2> obs-4.E code=$? if test $code != 0; then - $echo "Test obs-4(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-4(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-4.O $srcdir/obs-4.X > /dev/null 2>&1 @@ -759,7 +759,7 @@ test -s obs-4.E || rm -f obs-4.E _POSIX2_VERSION=199209 $xx +1 < $srcdir/obs-4.I > obs-4.O 2> obs-4.E code=$? if test $code != 0; then - $echo "Test obs-4(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-4(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-4.O $srcdir/obs-4.X > /dev/null 2>&1 @@ -777,7 +777,7 @@ test -s obs-4.E || rm -f obs-4.E _POSIX2_VERSION=199209 $xx +2 $srcdir/obs-5.I > obs-5.O 2> obs-5.E code=$? if test $code != 0; then - $echo "Test obs-5(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-5(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-5.O $srcdir/obs-5.X > /dev/null 2>&1 @@ -795,7 +795,7 @@ test -s obs-5.E || rm -f obs-5.E cat $srcdir/obs-5.I | _POSIX2_VERSION=199209 $xx +2 > obs-5.O 2> obs-5.E code=$? if test $code != 0; then - $echo "Test obs-5(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-5(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-5.O $srcdir/obs-5.X > /dev/null 2>&1 @@ -813,7 +813,7 @@ test -s obs-5.E || rm -f obs-5.E _POSIX2_VERSION=199209 $xx +2 < $srcdir/obs-5.I > obs-5.O 2> obs-5.E code=$? if test $code != 0; then - $echo "Test obs-5(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-5(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-5.O $srcdir/obs-5.X > /dev/null 2>&1 @@ -831,7 +831,7 @@ test -s obs-5.E || rm -f obs-5.E _POSIX2_VERSION=199209 $xx +c $srcdir/obsx-1.I > obsx-1.O 2> obsx-1.E code=$? if test $code != 0; then - $echo "Test obsx-1(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obsx-1(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obsx-1.O $srcdir/obsx-1.X > /dev/null 2>&1 @@ -849,7 +849,7 @@ test -s obsx-1.E || rm -f obsx-1.E cat $srcdir/obsx-1.I | _POSIX2_VERSION=199209 $xx +c > obsx-1.O 2> obsx-1.E code=$? if test $code != 0; then - $echo "Test obsx-1(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obsx-1(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obsx-1.O $srcdir/obsx-1.X > /dev/null 2>&1 @@ -867,7 +867,7 @@ test -s obsx-1.E || rm -f obsx-1.E _POSIX2_VERSION=199209 $xx +c < $srcdir/obsx-1.I > obsx-1.O 2> obsx-1.E code=$? if test $code != 0; then - $echo "Test obsx-1(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obsx-1(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obsx-1.O $srcdir/obsx-1.X > /dev/null 2>&1 @@ -885,7 +885,7 @@ test -s obsx-1.E || rm -f obsx-1.E _POSIX2_VERSION=199209 $xx +l $srcdir/obsx-2.I > obsx-2.O 2> obsx-2.E code=$? if test $code != 0; then - $echo "Test obsx-2(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obsx-2(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obsx-2.O $srcdir/obsx-2.X > /dev/null 2>&1 @@ -903,7 +903,7 @@ test -s obsx-2.E || rm -f obsx-2.E cat $srcdir/obsx-2.I | _POSIX2_VERSION=199209 $xx +l > obsx-2.O 2> obsx-2.E code=$? if test $code != 0; then - $echo "Test obsx-2(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obsx-2(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obsx-2.O $srcdir/obsx-2.X > /dev/null 2>&1 @@ -921,7 +921,7 @@ test -s obsx-2.E || rm -f obsx-2.E _POSIX2_VERSION=199209 $xx +l < $srcdir/obsx-2.I > obsx-2.O 2> obsx-2.E code=$? if test $code != 0; then - $echo "Test obsx-2(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obsx-2(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obsx-2.O $srcdir/obsx-2.X > /dev/null 2>&1 @@ -939,7 +939,7 @@ test -s obsx-2.E || rm -f obsx-2.E _POSIX2_VERSION=199209 $xx -l $srcdir/obs-l.I > obs-l.O 2> obs-l.E code=$? if test $code != 0; then - $echo "Test obs-l(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l.O $srcdir/obs-l.X > /dev/null 2>&1 @@ -957,7 +957,7 @@ test -s obs-l.E || rm -f obs-l.E cat $srcdir/obs-l.I | _POSIX2_VERSION=199209 $xx -l > obs-l.O 2> obs-l.E code=$? if test $code != 0; then - $echo "Test obs-l(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l.O $srcdir/obs-l.X > /dev/null 2>&1 @@ -975,7 +975,7 @@ test -s obs-l.E || rm -f obs-l.E _POSIX2_VERSION=199209 $xx -l < $srcdir/obs-l.I > obs-l.O 2> obs-l.E code=$? if test $code != 0; then - $echo "Test obs-l(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test obs-l(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp obs-l.O $srcdir/obs-l.X > /dev/null 2>&1 @@ -993,7 +993,7 @@ test -s obs-l.E || rm -f obs-l.E _POSIX2_VERSION=199209 $xx +cl $srcdir/err-1.I > err-1.O 2> err-1.E code=$? if test $code != 1; then - $echo "Test err-1(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-1(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-1.O $srcdir/err-1.X > /dev/null 2>&1 @@ -1011,7 +1011,7 @@ test -s err-1.E || rm -f err-1.E cat $srcdir/err-1.I | _POSIX2_VERSION=199209 $xx +cl > err-1.O 2> err-1.E code=$? if test $code != 1; then - $echo "Test err-1(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-1(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-1.O $srcdir/err-1.X > /dev/null 2>&1 @@ -1029,7 +1029,7 @@ test -s err-1.E || rm -f err-1.E _POSIX2_VERSION=199209 $xx +cl < $srcdir/err-1.I > err-1.O 2> err-1.E code=$? if test $code != 1; then - $echo "Test err-1(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-1(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-1.O $srcdir/err-1.X > /dev/null 2>&1 @@ -1047,7 +1047,7 @@ test -s err-1.E || rm -f err-1.E $xx -cl $srcdir/err-2.I > err-2.O 2> err-2.E code=$? if test $code != 1; then - $echo "Test err-2(F) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-2(F) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-2.O $srcdir/err-2.X > /dev/null 2>&1 @@ -1065,7 +1065,7 @@ test -s err-2.E || rm -f err-2.E cat $srcdir/err-2.I | $xx -cl > err-2.O 2> err-2.E code=$? if test $code != 1; then - $echo "Test err-2(|) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-2(|) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-2.O $srcdir/err-2.X > /dev/null 2>&1 @@ -1083,7 +1083,7 @@ test -s err-2.E || rm -f err-2.E $xx -cl < $srcdir/err-2.I > err-2.O 2> err-2.E code=$? if test $code != 1; then - $echo "Test err-2(<) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-2(<) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-2.O $srcdir/err-2.X > /dev/null 2>&1 @@ -1101,7 +1101,7 @@ test -s err-2.E || rm -f err-2.E _POSIX2_VERSION=199209 $xx +2cz $srcdir/err-3.I > err-3.O 2> err-3.E code=$? if test $code != 1; then - $echo "Test err-3(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-3(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-3.O $srcdir/err-3.X > /dev/null 2>&1 @@ -1119,7 +1119,7 @@ test -s err-3.E || rm -f err-3.E cat $srcdir/err-3.I | _POSIX2_VERSION=199209 $xx +2cz > err-3.O 2> err-3.E code=$? if test $code != 1; then - $echo "Test err-3(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-3(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-3.O $srcdir/err-3.X > /dev/null 2>&1 @@ -1137,7 +1137,7 @@ test -s err-3.E || rm -f err-3.E _POSIX2_VERSION=199209 $xx +2cz < $srcdir/err-3.I > err-3.O 2> err-3.E code=$? if test $code != 1; then - $echo "Test err-3(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-3(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-3.O $srcdir/err-3.X > /dev/null 2>&1 @@ -1155,7 +1155,7 @@ test -s err-3.E || rm -f err-3.E _POSIX2_VERSION=199209 $xx -2cX $srcdir/err-4.I > err-4.O 2> err-4.E code=$? if test $code != 1; then - $echo "Test err-4(_POSIX2_VERSION=199209:F) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-4(_POSIX2_VERSION=199209:F) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-4.O $srcdir/err-4.X > /dev/null 2>&1 @@ -1173,7 +1173,7 @@ test -s err-4.E || rm -f err-4.E cat $srcdir/err-4.I | _POSIX2_VERSION=199209 $xx -2cX > err-4.O 2> err-4.E code=$? if test $code != 1; then - $echo "Test err-4(_POSIX2_VERSION=199209:|) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-4(_POSIX2_VERSION=199209:|) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-4.O $srcdir/err-4.X > /dev/null 2>&1 @@ -1191,7 +1191,7 @@ test -s err-4.E || rm -f err-4.E _POSIX2_VERSION=199209 $xx -2cX < $srcdir/err-4.I > err-4.O 2> err-4.E code=$? if test $code != 1; then - $echo "Test err-4(_POSIX2_VERSION=199209:<) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-4(_POSIX2_VERSION=199209:<) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-4.O $srcdir/err-4.X > /dev/null 2>&1 @@ -1209,7 +1209,7 @@ test -s err-4.E || rm -f err-4.E $xx -c99999999999999999999 $srcdir/err-5.I > err-5.O 2> err-5.E code=$? if test $code != 1; then - $echo "Test err-5(F) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-5(F) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-5.O $srcdir/err-5.X > /dev/null 2>&1 @@ -1227,7 +1227,7 @@ test -s err-5.E || rm -f err-5.E cat $srcdir/err-5.I | $xx -c99999999999999999999 > err-5.O 2> err-5.E code=$? if test $code != 1; then - $echo "Test err-5(|) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-5(|) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-5.O $srcdir/err-5.X > /dev/null 2>&1 @@ -1245,7 +1245,7 @@ test -s err-5.E || rm -f err-5.E $xx -c99999999999999999999 < $srcdir/err-5.I > err-5.O 2> err-5.E code=$? if test $code != 1; then - $echo "Test err-5(<) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-5(<) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-5.O $srcdir/err-5.X > /dev/null 2>&1 @@ -1263,7 +1263,7 @@ test -s err-5.E || rm -f err-5.E $xx -c $srcdir/err-6.I > err-6.O 2> err-6.E code=$? if test $code != 1; then - $echo "Test err-6(F) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-6(F) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-6.O $srcdir/err-6.X > /dev/null 2>&1 @@ -1281,7 +1281,7 @@ test -s err-6.E || rm -f err-6.E cat $srcdir/err-6.I | $xx -c > err-6.O 2> err-6.E code=$? if test $code != 1; then - $echo "Test err-6(|) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-6(|) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-6.O $srcdir/err-6.X > /dev/null 2>&1 @@ -1299,7 +1299,7 @@ test -s err-6.E || rm -f err-6.E $xx -c < $srcdir/err-6.I > err-6.O 2> err-6.E code=$? if test $code != 1; then - $echo "Test err-6(<) failed: ../../src/tail return code $code differs from expected value 1" 1>&2 + $echo "Test err-6(<) failed: $xx return code $code differs from expected value 1" 1>&2 errors=`expr $errors + 1` else cmp err-6.O $srcdir/err-6.X > /dev/null 2>&1 @@ -1317,7 +1317,7 @@ test -s err-6.E || rm -f err-6.E cat $srcdir/minus-1.I | $xx - > minus-1.O 2> minus-1.E code=$? if test $code != 0; then - $echo "Test minus-1(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test minus-1(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp minus-1.O $srcdir/minus-1.X > /dev/null 2>&1 @@ -1335,7 +1335,7 @@ test -s minus-1.E || rm -f minus-1.E $xx - < $srcdir/minus-1.I > minus-1.O 2> minus-1.E code=$? if test $code != 0; then - $echo "Test minus-1(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test minus-1(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp minus-1.O $srcdir/minus-1.X > /dev/null 2>&1 @@ -1353,7 +1353,7 @@ test -s minus-1.E || rm -f minus-1.E cat $srcdir/minus-2.I | $xx - > minus-2.O 2> minus-2.E code=$? if test $code != 0; then - $echo "Test minus-2(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test minus-2(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp minus-2.O $srcdir/minus-2.X > /dev/null 2>&1 @@ -1371,7 +1371,7 @@ test -s minus-2.E || rm -f minus-2.E $xx - < $srcdir/minus-2.I > minus-2.O 2> minus-2.E code=$? if test $code != 0; then - $echo "Test minus-2(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test minus-2(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp minus-2.O $srcdir/minus-2.X > /dev/null 2>&1 @@ -1389,7 +1389,7 @@ test -s minus-2.E || rm -f minus-2.E $xx -n 10 $srcdir/n-1.I > n-1.O 2> n-1.E code=$? if test $code != 0; then - $echo "Test n-1(F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-1(F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-1.O $srcdir/n-1.X > /dev/null 2>&1 @@ -1407,7 +1407,7 @@ test -s n-1.E || rm -f n-1.E cat $srcdir/n-1.I | $xx -n 10 > n-1.O 2> n-1.E code=$? if test $code != 0; then - $echo "Test n-1(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-1(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-1.O $srcdir/n-1.X > /dev/null 2>&1 @@ -1425,7 +1425,7 @@ test -s n-1.E || rm -f n-1.E $xx -n 10 < $srcdir/n-1.I > n-1.O 2> n-1.E code=$? if test $code != 0; then - $echo "Test n-1(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-1(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-1.O $srcdir/n-1.X > /dev/null 2>&1 @@ -1443,7 +1443,7 @@ test -s n-1.E || rm -f n-1.E $xx -n -10 $srcdir/n-2.I > n-2.O 2> n-2.E code=$? if test $code != 0; then - $echo "Test n-2(F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-2(F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-2.O $srcdir/n-2.X > /dev/null 2>&1 @@ -1461,7 +1461,7 @@ test -s n-2.E || rm -f n-2.E cat $srcdir/n-2.I | $xx -n -10 > n-2.O 2> n-2.E code=$? if test $code != 0; then - $echo "Test n-2(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-2(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-2.O $srcdir/n-2.X > /dev/null 2>&1 @@ -1479,7 +1479,7 @@ test -s n-2.E || rm -f n-2.E $xx -n -10 < $srcdir/n-2.I > n-2.O 2> n-2.E code=$? if test $code != 0; then - $echo "Test n-2(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-2(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-2.O $srcdir/n-2.X > /dev/null 2>&1 @@ -1497,7 +1497,7 @@ test -s n-2.E || rm -f n-2.E $xx -n +10 $srcdir/n-3.I > n-3.O 2> n-3.E code=$? if test $code != 0; then - $echo "Test n-3(F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-3(F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-3.O $srcdir/n-3.X > /dev/null 2>&1 @@ -1515,7 +1515,7 @@ test -s n-3.E || rm -f n-3.E cat $srcdir/n-3.I | $xx -n +10 > n-3.O 2> n-3.E code=$? if test $code != 0; then - $echo "Test n-3(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-3(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-3.O $srcdir/n-3.X > /dev/null 2>&1 @@ -1533,7 +1533,7 @@ test -s n-3.E || rm -f n-3.E $xx -n +10 < $srcdir/n-3.I > n-3.O 2> n-3.E code=$? if test $code != 0; then - $echo "Test n-3(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-3(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-3.O $srcdir/n-3.X > /dev/null 2>&1 @@ -1551,7 +1551,7 @@ test -s n-3.E || rm -f n-3.E $xx -n +0 $srcdir/n-4.I > n-4.O 2> n-4.E code=$? if test $code != 0; then - $echo "Test n-4(F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-4(F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-4.O $srcdir/n-4.X > /dev/null 2>&1 @@ -1569,7 +1569,7 @@ test -s n-4.E || rm -f n-4.E cat $srcdir/n-4.I | $xx -n +0 > n-4.O 2> n-4.E code=$? if test $code != 0; then - $echo "Test n-4(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-4(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-4.O $srcdir/n-4.X > /dev/null 2>&1 @@ -1587,7 +1587,7 @@ test -s n-4.E || rm -f n-4.E $xx -n +0 < $srcdir/n-4.I > n-4.O 2> n-4.E code=$? if test $code != 0; then - $echo "Test n-4(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-4(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-4.O $srcdir/n-4.X > /dev/null 2>&1 @@ -1605,7 +1605,7 @@ test -s n-4.E || rm -f n-4.E $xx -n +1 $srcdir/n-4a.I > n-4a.O 2> n-4a.E code=$? if test $code != 0; then - $echo "Test n-4a(F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-4a(F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-4a.O $srcdir/n-4a.X > /dev/null 2>&1 @@ -1623,7 +1623,7 @@ test -s n-4a.E || rm -f n-4a.E cat $srcdir/n-4a.I | $xx -n +1 > n-4a.O 2> n-4a.E code=$? if test $code != 0; then - $echo "Test n-4a(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-4a(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-4a.O $srcdir/n-4a.X > /dev/null 2>&1 @@ -1641,7 +1641,7 @@ test -s n-4a.E || rm -f n-4a.E $xx -n +1 < $srcdir/n-4a.I > n-4a.O 2> n-4a.E code=$? if test $code != 0; then - $echo "Test n-4a(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-4a(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-4a.O $srcdir/n-4a.X > /dev/null 2>&1 @@ -1659,7 +1659,7 @@ test -s n-4a.E || rm -f n-4a.E $xx -n -0 $srcdir/n-5.I > n-5.O 2> n-5.E code=$? if test $code != 0; then - $echo "Test n-5(F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-5(F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-5.O $srcdir/n-5.X > /dev/null 2>&1 @@ -1677,7 +1677,7 @@ test -s n-5.E || rm -f n-5.E cat $srcdir/n-5.I | $xx -n -0 > n-5.O 2> n-5.E code=$? if test $code != 0; then - $echo "Test n-5(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-5(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-5.O $srcdir/n-5.X > /dev/null 2>&1 @@ -1695,7 +1695,7 @@ test -s n-5.E || rm -f n-5.E $xx -n -0 < $srcdir/n-5.I > n-5.O 2> n-5.E code=$? if test $code != 0; then - $echo "Test n-5(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-5(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-5.O $srcdir/n-5.X > /dev/null 2>&1 @@ -1713,7 +1713,7 @@ test -s n-5.E || rm -f n-5.E $xx -n -1 $srcdir/n-5a.I > n-5a.O 2> n-5a.E code=$? if test $code != 0; then - $echo "Test n-5a(F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-5a(F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-5a.O $srcdir/n-5a.X > /dev/null 2>&1 @@ -1731,7 +1731,7 @@ test -s n-5a.E || rm -f n-5a.E cat $srcdir/n-5a.I | $xx -n -1 > n-5a.O 2> n-5a.E code=$? if test $code != 0; then - $echo "Test n-5a(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-5a(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-5a.O $srcdir/n-5a.X > /dev/null 2>&1 @@ -1749,7 +1749,7 @@ test -s n-5a.E || rm -f n-5a.E $xx -n -1 < $srcdir/n-5a.I > n-5a.O 2> n-5a.E code=$? if test $code != 0; then - $echo "Test n-5a(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-5a(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-5a.O $srcdir/n-5a.X > /dev/null 2>&1 @@ -1767,7 +1767,7 @@ test -s n-5a.E || rm -f n-5a.E $xx -n 0 $srcdir/n-5b.I > n-5b.O 2> n-5b.E code=$? if test $code != 0; then - $echo "Test n-5b(F) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-5b(F) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-5b.O $srcdir/n-5b.X > /dev/null 2>&1 @@ -1785,7 +1785,7 @@ test -s n-5b.E || rm -f n-5b.E cat $srcdir/n-5b.I | $xx -n 0 > n-5b.O 2> n-5b.E code=$? if test $code != 0; then - $echo "Test n-5b(|) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-5b(|) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-5b.O $srcdir/n-5b.X > /dev/null 2>&1 @@ -1803,7 +1803,7 @@ test -s n-5b.E || rm -f n-5b.E $xx -n 0 < $srcdir/n-5b.I > n-5b.O 2> n-5b.E code=$? if test $code != 0; then - $echo "Test n-5b(<) failed: ../../src/tail return code $code differs from expected value 0" 1>&2 + $echo "Test n-5b(<) failed: $xx return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp n-5b.O $srcdir/n-5b.X > /dev/null 2>&1 |