summaryrefslogtreecommitdiff
path: root/tests/cut/cut-tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-01-30 03:22:44 +0000
committerJim Meyering <jim@meyering.net>1997-01-30 03:22:44 +0000
commitbca3705ac5e22cdb77bc6bc2ee9c738d0631382d (patch)
treedca2b8b35d6a6e997008ea37629dc234e0d0ef14 /tests/cut/cut-tests
parent9fcda065b6175195f1adfdd60a9833ba21ed0753 (diff)
downloadcoreutils-bca3705ac5e22cdb77bc6bc2ee9c738d0631382d.tar.xz
.
Diffstat (limited to 'tests/cut/cut-tests')
-rwxr-xr-xtests/cut/cut-tests1638
1 files changed, 1482 insertions, 156 deletions
diff --git a/tests/cut/cut-tests b/tests/cut/cut-tests
index 1749b2797..f35034f6b 100755
--- a/tests/cut/cut-tests
+++ b/tests/cut/cut-tests
@@ -12,15 +12,49 @@ test "$VERBOSE" && $xx --version 2> /dev/null
$xx -d: -f1,3- $srcdir/1.I > 1.O 2> 1.E
code=$?
if test $code != 0 ; then
- $echo "Test 1 failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test 1(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 1.O $srcdir/1.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 1"; fi ;;
- 1) $echo "Test 1 failed: files 1.O and $srcdir/1.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed 1(F)"; fi ;;
+ 1) $echo "Test 1(F) failed: files 1.O and $srcdir/1.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test 1 may have failed." 1>&2;
+ 2) $echo "Test 1(F) may have failed." 1>&2;
+ $echo The command "cmp 1.O $srcdir/1.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 1.E || rm -f 1.E
+cat $srcdir/1.I | $xx -d: -f1,3- > 1.O 2> 1.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 1(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 1.O $srcdir/1.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 1(|)"; fi ;;
+ 1) $echo "Test 1(|) failed: files 1.O and $srcdir/1.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 1(|) may have failed." 1>&2;
+ $echo The command "cmp 1.O $srcdir/1.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 1.E || rm -f 1.E
+$xx -d: -f1,3- < $srcdir/1.I > 1.O 2> 1.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 1(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 1.O $srcdir/1.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 1(<)"; fi ;;
+ 1) $echo "Test 1(<) failed: files 1.O and $srcdir/1.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 1(<) may have failed." 1>&2;
$echo The command "cmp 1.O $srcdir/1.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -29,15 +63,49 @@ test -s 1.E || rm -f 1.E
$xx -d: -f1,3- $srcdir/2.I > 2.O 2> 2.E
code=$?
if test $code != 0 ; then
- $echo "Test 2 failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test 2(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 2.O $srcdir/2.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 2"; fi ;;
- 1) $echo "Test 2 failed: files 2.O and $srcdir/2.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed 2(F)"; fi ;;
+ 1) $echo "Test 2(F) failed: files 2.O and $srcdir/2.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test 2 may have failed." 1>&2;
+ 2) $echo "Test 2(F) may have failed." 1>&2;
+ $echo The command "cmp 2.O $srcdir/2.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 2.E || rm -f 2.E
+cat $srcdir/2.I | $xx -d: -f1,3- > 2.O 2> 2.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 2(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 2.O $srcdir/2.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 2(|)"; fi ;;
+ 1) $echo "Test 2(|) failed: files 2.O and $srcdir/2.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 2(|) may have failed." 1>&2;
+ $echo The command "cmp 2.O $srcdir/2.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 2.E || rm -f 2.E
+$xx -d: -f1,3- < $srcdir/2.I > 2.O 2> 2.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 2(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 2.O $srcdir/2.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 2(<)"; fi ;;
+ 1) $echo "Test 2(<) failed: files 2.O and $srcdir/2.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 2(<) may have failed." 1>&2;
$echo The command "cmp 2.O $srcdir/2.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -46,15 +114,49 @@ test -s 2.E || rm -f 2.E
$xx -d: -f2- $srcdir/3.I > 3.O 2> 3.E
code=$?
if test $code != 0 ; then
- $echo "Test 3 failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test 3(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 3.O $srcdir/3.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 3"; fi ;;
- 1) $echo "Test 3 failed: files 3.O and $srcdir/3.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed 3(F)"; fi ;;
+ 1) $echo "Test 3(F) failed: files 3.O and $srcdir/3.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test 3 may have failed." 1>&2;
+ 2) $echo "Test 3(F) may have failed." 1>&2;
+ $echo The command "cmp 3.O $srcdir/3.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 3.E || rm -f 3.E
+cat $srcdir/3.I | $xx -d: -f2- > 3.O 2> 3.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 3(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 3.O $srcdir/3.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 3(|)"; fi ;;
+ 1) $echo "Test 3(|) failed: files 3.O and $srcdir/3.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 3(|) may have failed." 1>&2;
+ $echo The command "cmp 3.O $srcdir/3.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 3.E || rm -f 3.E
+$xx -d: -f2- < $srcdir/3.I > 3.O 2> 3.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 3(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 3.O $srcdir/3.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 3(<)"; fi ;;
+ 1) $echo "Test 3(<) failed: files 3.O and $srcdir/3.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 3(<) may have failed." 1>&2;
$echo The command "cmp 3.O $srcdir/3.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -63,15 +165,49 @@ test -s 3.E || rm -f 3.E
$xx -d: -f4 $srcdir/4.I > 4.O 2> 4.E
code=$?
if test $code != 0 ; then
- $echo "Test 4 failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test 4(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 4.O $srcdir/4.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 4(F)"; fi ;;
+ 1) $echo "Test 4(F) failed: files 4.O and $srcdir/4.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 4(F) may have failed." 1>&2;
+ $echo The command "cmp 4.O $srcdir/4.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 4.E || rm -f 4.E
+cat $srcdir/4.I | $xx -d: -f4 > 4.O 2> 4.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 4(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 4.O $srcdir/4.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 4(|)"; fi ;;
+ 1) $echo "Test 4(|) failed: files 4.O and $srcdir/4.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 4(|) may have failed." 1>&2;
+ $echo The command "cmp 4.O $srcdir/4.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 4.E || rm -f 4.E
+$xx -d: -f4 < $srcdir/4.I > 4.O 2> 4.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 4(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 4.O $srcdir/4.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 4"; fi ;;
- 1) $echo "Test 4 failed: files 4.O and $srcdir/4.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed 4(<)"; fi ;;
+ 1) $echo "Test 4(<) failed: files 4.O and $srcdir/4.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test 4 may have failed." 1>&2;
+ 2) $echo "Test 4(<) may have failed." 1>&2;
$echo The command "cmp 4.O $srcdir/4.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -80,15 +216,49 @@ test -s 4.E || rm -f 4.E
$xx -d: -f4 $srcdir/5.I > 5.O 2> 5.E
code=$?
if test $code != 0 ; then
- $echo "Test 5 failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test 5(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 5.O $srcdir/5.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 5(F)"; fi ;;
+ 1) $echo "Test 5(F) failed: files 5.O and $srcdir/5.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 5(F) may have failed." 1>&2;
+ $echo The command "cmp 5.O $srcdir/5.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 5.E || rm -f 5.E
+cat $srcdir/5.I | $xx -d: -f4 > 5.O 2> 5.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 5(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 5.O $srcdir/5.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 5(|)"; fi ;;
+ 1) $echo "Test 5(|) failed: files 5.O and $srcdir/5.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 5(|) may have failed." 1>&2;
+ $echo The command "cmp 5.O $srcdir/5.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 5.E || rm -f 5.E
+$xx -d: -f4 < $srcdir/5.I > 5.O 2> 5.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 5(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 5.O $srcdir/5.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 5"; fi ;;
- 1) $echo "Test 5 failed: files 5.O and $srcdir/5.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed 5(<)"; fi ;;
+ 1) $echo "Test 5(<) failed: files 5.O and $srcdir/5.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test 5 may have failed." 1>&2;
+ 2) $echo "Test 5(<) may have failed." 1>&2;
$echo The command "cmp 5.O $srcdir/5.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -97,15 +267,49 @@ test -s 5.E || rm -f 5.E
$xx -c4 $srcdir/6.I > 6.O 2> 6.E
code=$?
if test $code != 0 ; then
- $echo "Test 6 failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test 6(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 6.O $srcdir/6.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 6(F)"; fi ;;
+ 1) $echo "Test 6(F) failed: files 6.O and $srcdir/6.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 6(F) may have failed." 1>&2;
+ $echo The command "cmp 6.O $srcdir/6.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 6.E || rm -f 6.E
+cat $srcdir/6.I | $xx -c4 > 6.O 2> 6.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 6(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 6.O $srcdir/6.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 6"; fi ;;
- 1) $echo "Test 6 failed: files 6.O and $srcdir/6.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed 6(|)"; fi ;;
+ 1) $echo "Test 6(|) failed: files 6.O and $srcdir/6.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test 6 may have failed." 1>&2;
+ 2) $echo "Test 6(|) may have failed." 1>&2;
+ $echo The command "cmp 6.O $srcdir/6.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 6.E || rm -f 6.E
+$xx -c4 < $srcdir/6.I > 6.O 2> 6.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 6(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 6.O $srcdir/6.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 6(<)"; fi ;;
+ 1) $echo "Test 6(<) failed: files 6.O and $srcdir/6.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 6(<) may have failed." 1>&2;
$echo The command "cmp 6.O $srcdir/6.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -114,15 +318,49 @@ test -s 6.E || rm -f 6.E
$xx -c4 $srcdir/7.I > 7.O 2> 7.E
code=$?
if test $code != 0 ; then
- $echo "Test 7 failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test 7(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 7.O $srcdir/7.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 7"; fi ;;
- 1) $echo "Test 7 failed: files 7.O and $srcdir/7.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed 7(F)"; fi ;;
+ 1) $echo "Test 7(F) failed: files 7.O and $srcdir/7.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test 7 may have failed." 1>&2;
+ 2) $echo "Test 7(F) may have failed." 1>&2;
+ $echo The command "cmp 7.O $srcdir/7.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 7.E || rm -f 7.E
+cat $srcdir/7.I | $xx -c4 > 7.O 2> 7.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 7(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 7.O $srcdir/7.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 7(|)"; fi ;;
+ 1) $echo "Test 7(|) failed: files 7.O and $srcdir/7.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 7(|) may have failed." 1>&2;
+ $echo The command "cmp 7.O $srcdir/7.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 7.E || rm -f 7.E
+$xx -c4 < $srcdir/7.I > 7.O 2> 7.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 7(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 7.O $srcdir/7.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 7(<)"; fi ;;
+ 1) $echo "Test 7(<) failed: files 7.O and $srcdir/7.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 7(<) may have failed." 1>&2;
$echo The command "cmp 7.O $srcdir/7.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -131,15 +369,49 @@ test -s 7.E || rm -f 7.E
$xx -c4 $srcdir/8.I > 8.O 2> 8.E
code=$?
if test $code != 0 ; then
- $echo "Test 8 failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test 8(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 8.O $srcdir/8.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 8"; fi ;;
- 1) $echo "Test 8 failed: files 8.O and $srcdir/8.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed 8(F)"; fi ;;
+ 1) $echo "Test 8(F) failed: files 8.O and $srcdir/8.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test 8 may have failed." 1>&2;
+ 2) $echo "Test 8(F) may have failed." 1>&2;
+ $echo The command "cmp 8.O $srcdir/8.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 8.E || rm -f 8.E
+cat $srcdir/8.I | $xx -c4 > 8.O 2> 8.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 8(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 8.O $srcdir/8.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 8(|)"; fi ;;
+ 1) $echo "Test 8(|) failed: files 8.O and $srcdir/8.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 8(|) may have failed." 1>&2;
+ $echo The command "cmp 8.O $srcdir/8.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 8.E || rm -f 8.E
+$xx -c4 < $srcdir/8.I > 8.O 2> 8.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 8(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 8.O $srcdir/8.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 8(<)"; fi ;;
+ 1) $echo "Test 8(<) failed: files 8.O and $srcdir/8.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 8(<) may have failed." 1>&2;
$echo The command "cmp 8.O $srcdir/8.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -148,15 +420,49 @@ test -s 8.E || rm -f 8.E
$xx -c4 $srcdir/9.I > 9.O 2> 9.E
code=$?
if test $code != 0 ; then
- $echo "Test 9 failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test 9(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 9.O $srcdir/9.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 9(F)"; fi ;;
+ 1) $echo "Test 9(F) failed: files 9.O and $srcdir/9.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 9(F) may have failed." 1>&2;
+ $echo The command "cmp 9.O $srcdir/9.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 9.E || rm -f 9.E
+cat $srcdir/9.I | $xx -c4 > 9.O 2> 9.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 9(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp 9.O $srcdir/9.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed 9(|)"; fi ;;
+ 1) $echo "Test 9(|) failed: files 9.O and $srcdir/9.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test 9(|) may have failed." 1>&2;
+ $echo The command "cmp 9.O $srcdir/9.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s 9.E || rm -f 9.E
+$xx -c4 < $srcdir/9.I > 9.O 2> 9.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test 9(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp 9.O $srcdir/9.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed 9"; fi ;;
- 1) $echo "Test 9 failed: files 9.O and $srcdir/9.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed 9(<)"; fi ;;
+ 1) $echo "Test 9(<) failed: files 9.O and $srcdir/9.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test 9 may have failed." 1>&2;
+ 2) $echo "Test 9(<) may have failed." 1>&2;
$echo The command "cmp 9.O $srcdir/9.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -165,15 +471,49 @@ test -s 9.E || rm -f 9.E
$xx -s -d: -f3- $srcdir/a.I > a.O 2> a.E
code=$?
if test $code != 0 ; then
- $echo "Test a failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test a(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp a.O $srcdir/a.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed a(F)"; fi ;;
+ 1) $echo "Test a(F) failed: files a.O and $srcdir/a.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test a(F) may have failed." 1>&2;
+ $echo The command "cmp a.O $srcdir/a.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s a.E || rm -f a.E
+cat $srcdir/a.I | $xx -s -d: -f3- > a.O 2> a.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test a(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp a.O $srcdir/a.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed a(|)"; fi ;;
+ 1) $echo "Test a(|) failed: files a.O and $srcdir/a.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test a(|) may have failed." 1>&2;
+ $echo The command "cmp a.O $srcdir/a.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s a.E || rm -f a.E
+$xx -s -d: -f3- < $srcdir/a.I > a.O 2> a.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test a(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp a.O $srcdir/a.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed a"; fi ;;
- 1) $echo "Test a failed: files a.O and $srcdir/a.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed a(<)"; fi ;;
+ 1) $echo "Test a(<) failed: files a.O and $srcdir/a.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test a may have failed." 1>&2;
+ 2) $echo "Test a(<) may have failed." 1>&2;
$echo The command "cmp a.O $srcdir/a.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -182,15 +522,49 @@ test -s a.E || rm -f a.E
$xx -s -d: -f2,3 $srcdir/b.I > b.O 2> b.E
code=$?
if test $code != 0 ; then
- $echo "Test b failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test b(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp b.O $srcdir/b.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed b(F)"; fi ;;
+ 1) $echo "Test b(F) failed: files b.O and $srcdir/b.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test b(F) may have failed." 1>&2;
+ $echo The command "cmp b.O $srcdir/b.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s b.E || rm -f b.E
+cat $srcdir/b.I | $xx -s -d: -f2,3 > b.O 2> b.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test b(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp b.O $srcdir/b.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed b(|)"; fi ;;
+ 1) $echo "Test b(|) failed: files b.O and $srcdir/b.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test b(|) may have failed." 1>&2;
+ $echo The command "cmp b.O $srcdir/b.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s b.E || rm -f b.E
+$xx -s -d: -f2,3 < $srcdir/b.I > b.O 2> b.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test b(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp b.O $srcdir/b.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b"; fi ;;
- 1) $echo "Test b failed: files b.O and $srcdir/b.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed b(<)"; fi ;;
+ 1) $echo "Test b(<) failed: files b.O and $srcdir/b.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b may have failed." 1>&2;
+ 2) $echo "Test b(<) may have failed." 1>&2;
$echo The command "cmp b.O $srcdir/b.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -199,15 +573,49 @@ test -s b.E || rm -f b.E
$xx -s -d: -f1,3 $srcdir/c.I > c.O 2> c.E
code=$?
if test $code != 0 ; then
- $echo "Test c failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test c(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp c.O $srcdir/c.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed c"; fi ;;
- 1) $echo "Test c failed: files c.O and $srcdir/c.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed c(F)"; fi ;;
+ 1) $echo "Test c(F) failed: files c.O and $srcdir/c.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test c may have failed." 1>&2;
+ 2) $echo "Test c(F) may have failed." 1>&2;
+ $echo The command "cmp c.O $srcdir/c.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s c.E || rm -f c.E
+cat $srcdir/c.I | $xx -s -d: -f1,3 > c.O 2> c.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test c(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp c.O $srcdir/c.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed c(|)"; fi ;;
+ 1) $echo "Test c(|) failed: files c.O and $srcdir/c.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test c(|) may have failed." 1>&2;
+ $echo The command "cmp c.O $srcdir/c.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s c.E || rm -f c.E
+$xx -s -d: -f1,3 < $srcdir/c.I > c.O 2> c.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test c(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp c.O $srcdir/c.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed c(<)"; fi ;;
+ 1) $echo "Test c(<) failed: files c.O and $srcdir/c.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test c(<) may have failed." 1>&2;
$echo The command "cmp c.O $srcdir/c.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -216,15 +624,49 @@ test -s c.E || rm -f c.E
$xx -s -d: -f1,3 $srcdir/d.I > d.O 2> d.E
code=$?
if test $code != 0 ; then
- $echo "Test d failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test d(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp d.O $srcdir/d.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed d"; fi ;;
- 1) $echo "Test d failed: files d.O and $srcdir/d.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed d(F)"; fi ;;
+ 1) $echo "Test d(F) failed: files d.O and $srcdir/d.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test d may have failed." 1>&2;
+ 2) $echo "Test d(F) may have failed." 1>&2;
+ $echo The command "cmp d.O $srcdir/d.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s d.E || rm -f d.E
+cat $srcdir/d.I | $xx -s -d: -f1,3 > d.O 2> d.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test d(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp d.O $srcdir/d.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed d(|)"; fi ;;
+ 1) $echo "Test d(|) failed: files d.O and $srcdir/d.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test d(|) may have failed." 1>&2;
+ $echo The command "cmp d.O $srcdir/d.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s d.E || rm -f d.E
+$xx -s -d: -f1,3 < $srcdir/d.I > d.O 2> d.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test d(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp d.O $srcdir/d.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed d(<)"; fi ;;
+ 1) $echo "Test d(<) failed: files d.O and $srcdir/d.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test d(<) may have failed." 1>&2;
$echo The command "cmp d.O $srcdir/d.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -233,15 +675,49 @@ test -s d.E || rm -f d.E
$xx -s -d: -f3- $srcdir/e.I > e.O 2> e.E
code=$?
if test $code != 0 ; then
- $echo "Test e failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test e(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp e.O $srcdir/e.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed e(F)"; fi ;;
+ 1) $echo "Test e(F) failed: files e.O and $srcdir/e.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test e(F) may have failed." 1>&2;
+ $echo The command "cmp e.O $srcdir/e.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s e.E || rm -f e.E
+cat $srcdir/e.I | $xx -s -d: -f3- > e.O 2> e.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test e(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp e.O $srcdir/e.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed e"; fi ;;
- 1) $echo "Test e failed: files e.O and $srcdir/e.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed e(|)"; fi ;;
+ 1) $echo "Test e(|) failed: files e.O and $srcdir/e.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test e may have failed." 1>&2;
+ 2) $echo "Test e(|) may have failed." 1>&2;
+ $echo The command "cmp e.O $srcdir/e.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s e.E || rm -f e.E
+$xx -s -d: -f3- < $srcdir/e.I > e.O 2> e.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test e(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp e.O $srcdir/e.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed e(<)"; fi ;;
+ 1) $echo "Test e(<) failed: files e.O and $srcdir/e.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test e(<) may have failed." 1>&2;
$echo The command "cmp e.O $srcdir/e.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -250,15 +726,49 @@ test -s e.E || rm -f e.E
$xx -s -d: -f3-4 $srcdir/f.I > f.O 2> f.E
code=$?
if test $code != 0 ; then
- $echo "Test f failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test f(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp f.O $srcdir/f.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed f(F)"; fi ;;
+ 1) $echo "Test f(F) failed: files f.O and $srcdir/f.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test f(F) may have failed." 1>&2;
+ $echo The command "cmp f.O $srcdir/f.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s f.E || rm -f f.E
+cat $srcdir/f.I | $xx -s -d: -f3-4 > f.O 2> f.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test f(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp f.O $srcdir/f.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed f(|)"; fi ;;
+ 1) $echo "Test f(|) failed: files f.O and $srcdir/f.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test f(|) may have failed." 1>&2;
+ $echo The command "cmp f.O $srcdir/f.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s f.E || rm -f f.E
+$xx -s -d: -f3-4 < $srcdir/f.I > f.O 2> f.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test f(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp f.O $srcdir/f.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed f"; fi ;;
- 1) $echo "Test f failed: files f.O and $srcdir/f.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed f(<)"; fi ;;
+ 1) $echo "Test f(<) failed: files f.O and $srcdir/f.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test f may have failed." 1>&2;
+ 2) $echo "Test f(<) may have failed." 1>&2;
$echo The command "cmp f.O $srcdir/f.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -267,15 +777,49 @@ test -s f.E || rm -f f.E
$xx -s -d: -f3,4 $srcdir/g.I > g.O 2> g.E
code=$?
if test $code != 0 ; then
- $echo "Test g failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test g(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp g.O $srcdir/g.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed g(F)"; fi ;;
+ 1) $echo "Test g(F) failed: files g.O and $srcdir/g.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test g(F) may have failed." 1>&2;
+ $echo The command "cmp g.O $srcdir/g.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s g.E || rm -f g.E
+cat $srcdir/g.I | $xx -s -d: -f3,4 > g.O 2> g.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test g(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp g.O $srcdir/g.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed g"; fi ;;
- 1) $echo "Test g failed: files g.O and $srcdir/g.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed g(|)"; fi ;;
+ 1) $echo "Test g(|) failed: files g.O and $srcdir/g.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test g may have failed." 1>&2;
+ 2) $echo "Test g(|) may have failed." 1>&2;
+ $echo The command "cmp g.O $srcdir/g.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s g.E || rm -f g.E
+$xx -s -d: -f3,4 < $srcdir/g.I > g.O 2> g.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test g(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp g.O $srcdir/g.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed g(<)"; fi ;;
+ 1) $echo "Test g(<) failed: files g.O and $srcdir/g.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test g(<) may have failed." 1>&2;
$echo The command "cmp g.O $srcdir/g.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -284,15 +828,49 @@ test -s g.E || rm -f g.E
$xx -s -d: -f2,3 $srcdir/h.I > h.O 2> h.E
code=$?
if test $code != 0 ; then
- $echo "Test h failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test h(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp h.O $srcdir/h.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed h(F)"; fi ;;
+ 1) $echo "Test h(F) failed: files h.O and $srcdir/h.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test h(F) may have failed." 1>&2;
+ $echo The command "cmp h.O $srcdir/h.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s h.E || rm -f h.E
+cat $srcdir/h.I | $xx -s -d: -f2,3 > h.O 2> h.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test h(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp h.O $srcdir/h.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed h"; fi ;;
- 1) $echo "Test h failed: files h.O and $srcdir/h.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed h(|)"; fi ;;
+ 1) $echo "Test h(|) failed: files h.O and $srcdir/h.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test h may have failed." 1>&2;
+ 2) $echo "Test h(|) may have failed." 1>&2;
+ $echo The command "cmp h.O $srcdir/h.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s h.E || rm -f h.E
+$xx -s -d: -f2,3 < $srcdir/h.I > h.O 2> h.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test h(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp h.O $srcdir/h.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed h(<)"; fi ;;
+ 1) $echo "Test h(<) failed: files h.O and $srcdir/h.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test h(<) may have failed." 1>&2;
$echo The command "cmp h.O $srcdir/h.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -301,15 +879,49 @@ test -s h.E || rm -f h.E
$xx -d: -f1-3 $srcdir/i.I > i.O 2> i.E
code=$?
if test $code != 0 ; then
- $echo "Test i failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test i(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp i.O $srcdir/i.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed i"; fi ;;
- 1) $echo "Test i failed: files i.O and $srcdir/i.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed i(F)"; fi ;;
+ 1) $echo "Test i(F) failed: files i.O and $srcdir/i.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test i may have failed." 1>&2;
+ 2) $echo "Test i(F) may have failed." 1>&2;
+ $echo The command "cmp i.O $srcdir/i.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s i.E || rm -f i.E
+cat $srcdir/i.I | $xx -d: -f1-3 > i.O 2> i.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test i(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp i.O $srcdir/i.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed i(|)"; fi ;;
+ 1) $echo "Test i(|) failed: files i.O and $srcdir/i.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test i(|) may have failed." 1>&2;
+ $echo The command "cmp i.O $srcdir/i.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s i.E || rm -f i.E
+$xx -d: -f1-3 < $srcdir/i.I > i.O 2> i.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test i(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp i.O $srcdir/i.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed i(<)"; fi ;;
+ 1) $echo "Test i(<) failed: files i.O and $srcdir/i.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test i(<) may have failed." 1>&2;
$echo The command "cmp i.O $srcdir/i.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -318,15 +930,49 @@ test -s i.E || rm -f i.E
$xx -d: -f1-4 $srcdir/j.I > j.O 2> j.E
code=$?
if test $code != 0 ; then
- $echo "Test j failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test j(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp j.O $srcdir/j.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed j(F)"; fi ;;
+ 1) $echo "Test j(F) failed: files j.O and $srcdir/j.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test j(F) may have failed." 1>&2;
+ $echo The command "cmp j.O $srcdir/j.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s j.E || rm -f j.E
+cat $srcdir/j.I | $xx -d: -f1-4 > j.O 2> j.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test j(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp j.O $srcdir/j.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed j"; fi ;;
- 1) $echo "Test j failed: files j.O and $srcdir/j.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed j(|)"; fi ;;
+ 1) $echo "Test j(|) failed: files j.O and $srcdir/j.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test j may have failed." 1>&2;
+ 2) $echo "Test j(|) may have failed." 1>&2;
+ $echo The command "cmp j.O $srcdir/j.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s j.E || rm -f j.E
+$xx -d: -f1-4 < $srcdir/j.I > j.O 2> j.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test j(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp j.O $srcdir/j.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed j(<)"; fi ;;
+ 1) $echo "Test j(<) failed: files j.O and $srcdir/j.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test j(<) may have failed." 1>&2;
$echo The command "cmp j.O $srcdir/j.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -335,15 +981,49 @@ test -s j.E || rm -f j.E
$xx -d: -f2-3 $srcdir/k.I > k.O 2> k.E
code=$?
if test $code != 0 ; then
- $echo "Test k failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test k(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp k.O $srcdir/k.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed k(F)"; fi ;;
+ 1) $echo "Test k(F) failed: files k.O and $srcdir/k.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test k(F) may have failed." 1>&2;
+ $echo The command "cmp k.O $srcdir/k.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s k.E || rm -f k.E
+cat $srcdir/k.I | $xx -d: -f2-3 > k.O 2> k.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test k(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp k.O $srcdir/k.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed k"; fi ;;
- 1) $echo "Test k failed: files k.O and $srcdir/k.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed k(|)"; fi ;;
+ 1) $echo "Test k(|) failed: files k.O and $srcdir/k.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test k may have failed." 1>&2;
+ 2) $echo "Test k(|) may have failed." 1>&2;
+ $echo The command "cmp k.O $srcdir/k.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s k.E || rm -f k.E
+$xx -d: -f2-3 < $srcdir/k.I > k.O 2> k.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test k(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp k.O $srcdir/k.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed k(<)"; fi ;;
+ 1) $echo "Test k(<) failed: files k.O and $srcdir/k.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test k(<) may have failed." 1>&2;
$echo The command "cmp k.O $srcdir/k.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -352,15 +1032,49 @@ test -s k.E || rm -f k.E
$xx -d: -f2-4 $srcdir/l.I > l.O 2> l.E
code=$?
if test $code != 0 ; then
- $echo "Test l failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test l(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp l.O $srcdir/l.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed l(F)"; fi ;;
+ 1) $echo "Test l(F) failed: files l.O and $srcdir/l.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test l(F) may have failed." 1>&2;
+ $echo The command "cmp l.O $srcdir/l.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s l.E || rm -f l.E
+cat $srcdir/l.I | $xx -d: -f2-4 > l.O 2> l.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test l(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp l.O $srcdir/l.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed l"; fi ;;
- 1) $echo "Test l failed: files l.O and $srcdir/l.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed l(|)"; fi ;;
+ 1) $echo "Test l(|) failed: files l.O and $srcdir/l.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test l may have failed." 1>&2;
+ 2) $echo "Test l(|) may have failed." 1>&2;
+ $echo The command "cmp l.O $srcdir/l.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s l.E || rm -f l.E
+$xx -d: -f2-4 < $srcdir/l.I > l.O 2> l.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test l(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp l.O $srcdir/l.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed l(<)"; fi ;;
+ 1) $echo "Test l(<) failed: files l.O and $srcdir/l.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test l(<) may have failed." 1>&2;
$echo The command "cmp l.O $srcdir/l.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -369,15 +1083,49 @@ test -s l.E || rm -f l.E
$xx -s -d: -f1-3 $srcdir/m.I > m.O 2> m.E
code=$?
if test $code != 0 ; then
- $echo "Test m failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test m(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp m.O $srcdir/m.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed m"; fi ;;
- 1) $echo "Test m failed: files m.O and $srcdir/m.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed m(F)"; fi ;;
+ 1) $echo "Test m(F) failed: files m.O and $srcdir/m.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test m may have failed." 1>&2;
+ 2) $echo "Test m(F) may have failed." 1>&2;
+ $echo The command "cmp m.O $srcdir/m.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s m.E || rm -f m.E
+cat $srcdir/m.I | $xx -s -d: -f1-3 > m.O 2> m.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test m(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp m.O $srcdir/m.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed m(|)"; fi ;;
+ 1) $echo "Test m(|) failed: files m.O and $srcdir/m.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test m(|) may have failed." 1>&2;
+ $echo The command "cmp m.O $srcdir/m.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s m.E || rm -f m.E
+$xx -s -d: -f1-3 < $srcdir/m.I > m.O 2> m.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test m(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp m.O $srcdir/m.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed m(<)"; fi ;;
+ 1) $echo "Test m(<) failed: files m.O and $srcdir/m.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test m(<) may have failed." 1>&2;
$echo The command "cmp m.O $srcdir/m.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -386,15 +1134,49 @@ test -s m.E || rm -f m.E
$xx -s -d: -f1-4 $srcdir/n.I > n.O 2> n.E
code=$?
if test $code != 0 ; then
- $echo "Test n failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test n(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp n.O $srcdir/n.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed n"; fi ;;
- 1) $echo "Test n failed: files n.O and $srcdir/n.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed n(F)"; fi ;;
+ 1) $echo "Test n(F) failed: files n.O and $srcdir/n.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test n may have failed." 1>&2;
+ 2) $echo "Test n(F) may have failed." 1>&2;
+ $echo The command "cmp n.O $srcdir/n.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s n.E || rm -f n.E
+cat $srcdir/n.I | $xx -s -d: -f1-4 > n.O 2> n.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test n(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp n.O $srcdir/n.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed n(|)"; fi ;;
+ 1) $echo "Test n(|) failed: files n.O and $srcdir/n.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test n(|) may have failed." 1>&2;
+ $echo The command "cmp n.O $srcdir/n.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s n.E || rm -f n.E
+$xx -s -d: -f1-4 < $srcdir/n.I > n.O 2> n.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test n(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp n.O $srcdir/n.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed n(<)"; fi ;;
+ 1) $echo "Test n(<) failed: files n.O and $srcdir/n.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test n(<) may have failed." 1>&2;
$echo The command "cmp n.O $srcdir/n.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -403,15 +1185,49 @@ test -s n.E || rm -f n.E
$xx -s -d: -f2-3 $srcdir/o.I > o.O 2> o.E
code=$?
if test $code != 0 ; then
- $echo "Test o failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test o(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp o.O $srcdir/o.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed o(F)"; fi ;;
+ 1) $echo "Test o(F) failed: files o.O and $srcdir/o.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test o(F) may have failed." 1>&2;
+ $echo The command "cmp o.O $srcdir/o.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s o.E || rm -f o.E
+cat $srcdir/o.I | $xx -s -d: -f2-3 > o.O 2> o.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test o(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp o.O $srcdir/o.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed o"; fi ;;
- 1) $echo "Test o failed: files o.O and $srcdir/o.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed o(|)"; fi ;;
+ 1) $echo "Test o(|) failed: files o.O and $srcdir/o.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test o may have failed." 1>&2;
+ 2) $echo "Test o(|) may have failed." 1>&2;
+ $echo The command "cmp o.O $srcdir/o.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s o.E || rm -f o.E
+$xx -s -d: -f2-3 < $srcdir/o.I > o.O 2> o.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test o(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp o.O $srcdir/o.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed o(<)"; fi ;;
+ 1) $echo "Test o(<) failed: files o.O and $srcdir/o.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test o(<) may have failed." 1>&2;
$echo The command "cmp o.O $srcdir/o.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -420,15 +1236,49 @@ test -s o.E || rm -f o.E
$xx -s -d: -f2-4 $srcdir/p.I > p.O 2> p.E
code=$?
if test $code != 0 ; then
- $echo "Test p failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test p(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp p.O $srcdir/p.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed p(F)"; fi ;;
+ 1) $echo "Test p(F) failed: files p.O and $srcdir/p.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test p(F) may have failed." 1>&2;
+ $echo The command "cmp p.O $srcdir/p.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s p.E || rm -f p.E
+cat $srcdir/p.I | $xx -s -d: -f2-4 > p.O 2> p.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test p(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp p.O $srcdir/p.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed p(|)"; fi ;;
+ 1) $echo "Test p(|) failed: files p.O and $srcdir/p.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test p(|) may have failed." 1>&2;
+ $echo The command "cmp p.O $srcdir/p.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s p.E || rm -f p.E
+$xx -s -d: -f2-4 < $srcdir/p.I > p.O 2> p.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test p(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp p.O $srcdir/p.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed p"; fi ;;
- 1) $echo "Test p failed: files p.O and $srcdir/p.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed p(<)"; fi ;;
+ 1) $echo "Test p(<) failed: files p.O and $srcdir/p.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test p may have failed." 1>&2;
+ 2) $echo "Test p(<) may have failed." 1>&2;
$echo The command "cmp p.O $srcdir/p.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -437,15 +1287,49 @@ test -s p.E || rm -f p.E
$xx -s -d: -f2-4 $srcdir/q.I > q.O 2> q.E
code=$?
if test $code != 0 ; then
- $echo "Test q failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test q(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp q.O $srcdir/q.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed q"; fi ;;
- 1) $echo "Test q failed: files q.O and $srcdir/q.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed q(F)"; fi ;;
+ 1) $echo "Test q(F) failed: files q.O and $srcdir/q.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test q may have failed." 1>&2;
+ 2) $echo "Test q(F) may have failed." 1>&2;
+ $echo The command "cmp q.O $srcdir/q.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s q.E || rm -f q.E
+cat $srcdir/q.I | $xx -s -d: -f2-4 > q.O 2> q.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test q(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp q.O $srcdir/q.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed q(|)"; fi ;;
+ 1) $echo "Test q(|) failed: files q.O and $srcdir/q.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test q(|) may have failed." 1>&2;
+ $echo The command "cmp q.O $srcdir/q.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s q.E || rm -f q.E
+$xx -s -d: -f2-4 < $srcdir/q.I > q.O 2> q.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test q(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp q.O $srcdir/q.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed q(<)"; fi ;;
+ 1) $echo "Test q(<) failed: files q.O and $srcdir/q.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test q(<) may have failed." 1>&2;
$echo The command "cmp q.O $srcdir/q.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -454,15 +1338,49 @@ test -s q.E || rm -f q.E
$xx -s -d: -f2-4 $srcdir/r.I > r.O 2> r.E
code=$?
if test $code != 0 ; then
- $echo "Test r failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test r(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp r.O $srcdir/r.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed r"; fi ;;
- 1) $echo "Test r failed: files r.O and $srcdir/r.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed r(F)"; fi ;;
+ 1) $echo "Test r(F) failed: files r.O and $srcdir/r.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test r may have failed." 1>&2;
+ 2) $echo "Test r(F) may have failed." 1>&2;
+ $echo The command "cmp r.O $srcdir/r.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s r.E || rm -f r.E
+cat $srcdir/r.I | $xx -s -d: -f2-4 > r.O 2> r.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test r(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp r.O $srcdir/r.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed r(|)"; fi ;;
+ 1) $echo "Test r(|) failed: files r.O and $srcdir/r.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test r(|) may have failed." 1>&2;
+ $echo The command "cmp r.O $srcdir/r.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s r.E || rm -f r.E
+$xx -s -d: -f2-4 < $srcdir/r.I > r.O 2> r.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test r(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp r.O $srcdir/r.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed r(<)"; fi ;;
+ 1) $echo "Test r(<) failed: files r.O and $srcdir/r.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test r(<) may have failed." 1>&2;
$echo The command "cmp r.O $srcdir/r.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -471,15 +1389,49 @@ test -s r.E || rm -f r.E
$xx -s -d: -f1-4 $srcdir/s.I > s.O 2> s.E
code=$?
if test $code != 0 ; then
- $echo "Test s failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test s(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp s.O $srcdir/s.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed s"; fi ;;
- 1) $echo "Test s failed: files s.O and $srcdir/s.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed s(F)"; fi ;;
+ 1) $echo "Test s(F) failed: files s.O and $srcdir/s.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test s may have failed." 1>&2;
+ 2) $echo "Test s(F) may have failed." 1>&2;
+ $echo The command "cmp s.O $srcdir/s.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s s.E || rm -f s.E
+cat $srcdir/s.I | $xx -s -d: -f1-4 > s.O 2> s.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test s(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp s.O $srcdir/s.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed s(|)"; fi ;;
+ 1) $echo "Test s(|) failed: files s.O and $srcdir/s.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test s(|) may have failed." 1>&2;
+ $echo The command "cmp s.O $srcdir/s.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s s.E || rm -f s.E
+$xx -s -d: -f1-4 < $srcdir/s.I > s.O 2> s.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test s(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp s.O $srcdir/s.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed s(<)"; fi ;;
+ 1) $echo "Test s(<) failed: files s.O and $srcdir/s.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test s(<) may have failed." 1>&2;
$echo The command "cmp s.O $srcdir/s.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -488,15 +1440,49 @@ test -s s.E || rm -f s.E
$xx -s -d: -f3- $srcdir/t.I > t.O 2> t.E
code=$?
if test $code != 0 ; then
- $echo "Test t failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test t(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp t.O $srcdir/t.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed t(F)"; fi ;;
+ 1) $echo "Test t(F) failed: files t.O and $srcdir/t.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test t(F) may have failed." 1>&2;
+ $echo The command "cmp t.O $srcdir/t.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s t.E || rm -f t.E
+cat $srcdir/t.I | $xx -s -d: -f3- > t.O 2> t.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test t(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp t.O $srcdir/t.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed t"; fi ;;
- 1) $echo "Test t failed: files t.O and $srcdir/t.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed t(|)"; fi ;;
+ 1) $echo "Test t(|) failed: files t.O and $srcdir/t.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test t may have failed." 1>&2;
+ 2) $echo "Test t(|) may have failed." 1>&2;
+ $echo The command "cmp t.O $srcdir/t.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s t.E || rm -f t.E
+$xx -s -d: -f3- < $srcdir/t.I > t.O 2> t.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test t(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp t.O $srcdir/t.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed t(<)"; fi ;;
+ 1) $echo "Test t(<) failed: files t.O and $srcdir/t.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test t(<) may have failed." 1>&2;
$echo The command "cmp t.O $srcdir/t.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -505,15 +1491,49 @@ test -s t.E || rm -f t.E
$xx -s -f3- $srcdir/u.I > u.O 2> u.E
code=$?
if test $code != 0 ; then
- $echo "Test u failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test u(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp u.O $srcdir/u.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed u(F)"; fi ;;
+ 1) $echo "Test u(F) failed: files u.O and $srcdir/u.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test u(F) may have failed." 1>&2;
+ $echo The command "cmp u.O $srcdir/u.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s u.E || rm -f u.E
+cat $srcdir/u.I | $xx -s -f3- > u.O 2> u.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test u(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp u.O $srcdir/u.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed u(|)"; fi ;;
+ 1) $echo "Test u(|) failed: files u.O and $srcdir/u.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test u(|) may have failed." 1>&2;
+ $echo The command "cmp u.O $srcdir/u.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s u.E || rm -f u.E
+$xx -s -f3- < $srcdir/u.I > u.O 2> u.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test u(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp u.O $srcdir/u.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed u"; fi ;;
- 1) $echo "Test u failed: files u.O and $srcdir/u.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed u(<)"; fi ;;
+ 1) $echo "Test u(<) failed: files u.O and $srcdir/u.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test u may have failed." 1>&2;
+ 2) $echo "Test u(<) may have failed." 1>&2;
$echo The command "cmp u.O $srcdir/u.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -522,15 +1542,49 @@ test -s u.E || rm -f u.E
$xx -f3- $srcdir/v.I > v.O 2> v.E
code=$?
if test $code != 0 ; then
- $echo "Test v failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test v(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp v.O $srcdir/v.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed v(F)"; fi ;;
+ 1) $echo "Test v(F) failed: files v.O and $srcdir/v.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test v(F) may have failed." 1>&2;
+ $echo The command "cmp v.O $srcdir/v.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s v.E || rm -f v.E
+cat $srcdir/v.I | $xx -f3- > v.O 2> v.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test v(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp v.O $srcdir/v.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed v"; fi ;;
- 1) $echo "Test v failed: files v.O and $srcdir/v.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed v(|)"; fi ;;
+ 1) $echo "Test v(|) failed: files v.O and $srcdir/v.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test v may have failed." 1>&2;
+ 2) $echo "Test v(|) may have failed." 1>&2;
+ $echo The command "cmp v.O $srcdir/v.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s v.E || rm -f v.E
+$xx -f3- < $srcdir/v.I > v.O 2> v.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test v(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp v.O $srcdir/v.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed v(<)"; fi ;;
+ 1) $echo "Test v(<) failed: files v.O and $srcdir/v.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test v(<) may have failed." 1>&2;
$echo The command "cmp v.O $srcdir/v.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -539,15 +1593,49 @@ test -s v.E || rm -f v.E
$xx -b 1 $srcdir/w.I > w.O 2> w.E
code=$?
if test $code != 0 ; then
- $echo "Test w failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test w(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp w.O $srcdir/w.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed w"; fi ;;
- 1) $echo "Test w failed: files w.O and $srcdir/w.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed w(F)"; fi ;;
+ 1) $echo "Test w(F) failed: files w.O and $srcdir/w.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test w may have failed." 1>&2;
+ 2) $echo "Test w(F) may have failed." 1>&2;
+ $echo The command "cmp w.O $srcdir/w.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s w.E || rm -f w.E
+cat $srcdir/w.I | $xx -b 1 > w.O 2> w.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test w(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp w.O $srcdir/w.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed w(|)"; fi ;;
+ 1) $echo "Test w(|) failed: files w.O and $srcdir/w.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test w(|) may have failed." 1>&2;
+ $echo The command "cmp w.O $srcdir/w.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s w.E || rm -f w.E
+$xx -b 1 < $srcdir/w.I > w.O 2> w.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test w(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp w.O $srcdir/w.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed w(<)"; fi ;;
+ 1) $echo "Test w(<) failed: files w.O and $srcdir/w.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test w(<) may have failed." 1>&2;
$echo The command "cmp w.O $srcdir/w.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -556,15 +1644,49 @@ test -s w.E || rm -f w.E
$xx -s -d: -f2-4 $srcdir/x.I > x.O 2> x.E
code=$?
if test $code != 0 ; then
- $echo "Test x failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ $echo "Test x(F) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp x.O $srcdir/x.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed x(F)"; fi ;;
+ 1) $echo "Test x(F) failed: files x.O and $srcdir/x.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test x(F) may have failed." 1>&2;
+ $echo The command "cmp x.O $srcdir/x.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s x.E || rm -f x.E
+cat $srcdir/x.I | $xx -s -d: -f2-4 > x.O 2> x.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test x(|) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp x.O $srcdir/x.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed x(|)"; fi ;;
+ 1) $echo "Test x(|) failed: files x.O and $srcdir/x.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test x(|) may have failed." 1>&2;
+ $echo The command "cmp x.O $srcdir/x.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s x.E || rm -f x.E
+$xx -s -d: -f2-4 < $srcdir/x.I > x.O 2> x.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test x(<) failed: ../../src/cut return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
cmp x.O $srcdir/x.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed x"; fi ;;
- 1) $echo "Test x failed: files x.O and $srcdir/x.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed x(<)"; fi ;;
+ 1) $echo "Test x(<) failed: files x.O and $srcdir/x.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test x may have failed." 1>&2;
+ 2) $echo "Test x(<) may have failed." 1>&2;
$echo The command "cmp x.O $srcdir/x.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -573,15 +1695,49 @@ test -s x.E || rm -f x.E
$xx -s -b4 $srcdir/y.I > y.O 2> y.E
code=$?
if test $code != 1 ; then
- $echo "Test y failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ $echo "Test y(F) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp y.O $srcdir/y.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed y"; fi ;;
- 1) $echo "Test y failed: files y.O and $srcdir/y.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed y(F)"; fi ;;
+ 1) $echo "Test y(F) failed: files y.O and $srcdir/y.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test y may have failed." 1>&2;
+ 2) $echo "Test y(F) may have failed." 1>&2;
+ $echo The command "cmp y.O $srcdir/y.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s y.E || rm -f y.E
+cat $srcdir/y.I | $xx -s -b4 > y.O 2> y.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test y(|) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp y.O $srcdir/y.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed y(|)"; fi ;;
+ 1) $echo "Test y(|) failed: files y.O and $srcdir/y.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test y(|) may have failed." 1>&2;
+ $echo The command "cmp y.O $srcdir/y.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s y.E || rm -f y.E
+$xx -s -b4 < $srcdir/y.I > y.O 2> y.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test y(<) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp y.O $srcdir/y.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed y(<)"; fi ;;
+ 1) $echo "Test y(<) failed: files y.O and $srcdir/y.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test y(<) may have failed." 1>&2;
$echo The command "cmp y.O $srcdir/y.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -590,15 +1746,49 @@ test -s y.E || rm -f y.E
$xx $srcdir/z.I > z.O 2> z.E
code=$?
if test $code != 1 ; then
- $echo "Test z failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ $echo "Test z(F) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp z.O $srcdir/z.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed z(F)"; fi ;;
+ 1) $echo "Test z(F) failed: files z.O and $srcdir/z.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test z(F) may have failed." 1>&2;
+ $echo The command "cmp z.O $srcdir/z.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s z.E || rm -f z.E
+cat $srcdir/z.I | $xx > z.O 2> z.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test z(|) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp z.O $srcdir/z.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed z(|)"; fi ;;
+ 1) $echo "Test z(|) failed: files z.O and $srcdir/z.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test z(|) may have failed." 1>&2;
+ $echo The command "cmp z.O $srcdir/z.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s z.E || rm -f z.E
+$xx < $srcdir/z.I > z.O 2> z.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test z(<) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp z.O $srcdir/z.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed z"; fi ;;
- 1) $echo "Test z failed: files z.O and $srcdir/z.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed z(<)"; fi ;;
+ 1) $echo "Test z(<) failed: files z.O and $srcdir/z.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test z may have failed." 1>&2;
+ 2) $echo "Test z(<) may have failed." 1>&2;
$echo The command "cmp z.O $srcdir/z.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -607,15 +1797,49 @@ test -s z.E || rm -f z.E
$xx -f '' $srcdir/empty-fl.I > empty-fl.O 2> empty-fl.E
code=$?
if test $code != 1 ; then
- $echo "Test empty-fl failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ $echo "Test empty-fl(F) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp empty-fl.O $srcdir/empty-fl.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed empty-fl"; fi ;;
- 1) $echo "Test empty-fl failed: files empty-fl.O and $srcdir/empty-fl.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed empty-fl(F)"; fi ;;
+ 1) $echo "Test empty-fl(F) failed: files empty-fl.O and $srcdir/empty-fl.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test empty-fl may have failed." 1>&2;
+ 2) $echo "Test empty-fl(F) may have failed." 1>&2;
+ $echo The command "cmp empty-fl.O $srcdir/empty-fl.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s empty-fl.E || rm -f empty-fl.E
+cat $srcdir/empty-fl.I | $xx -f '' > empty-fl.O 2> empty-fl.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test empty-fl(|) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp empty-fl.O $srcdir/empty-fl.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed empty-fl(|)"; fi ;;
+ 1) $echo "Test empty-fl(|) failed: files empty-fl.O and $srcdir/empty-fl.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test empty-fl(|) may have failed." 1>&2;
+ $echo The command "cmp empty-fl.O $srcdir/empty-fl.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s empty-fl.E || rm -f empty-fl.E
+$xx -f '' < $srcdir/empty-fl.I > empty-fl.O 2> empty-fl.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test empty-fl(<) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp empty-fl.O $srcdir/empty-fl.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed empty-fl(<)"; fi ;;
+ 1) $echo "Test empty-fl(<) failed: files empty-fl.O and $srcdir/empty-fl.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test empty-fl(<) may have failed." 1>&2;
$echo The command "cmp empty-fl.O $srcdir/empty-fl.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -624,15 +1848,49 @@ test -s empty-fl.E || rm -f empty-fl.E
$xx -f $srcdir/missing-fl.I > missing-fl.O 2> missing-fl.E
code=$?
if test $code != 1 ; then
- $echo "Test missing-fl failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ $echo "Test missing-fl(F) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp missing-fl.O $srcdir/missing-fl.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed missing-fl"; fi ;;
- 1) $echo "Test missing-fl failed: files missing-fl.O and $srcdir/missing-fl.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed missing-fl(F)"; fi ;;
+ 1) $echo "Test missing-fl(F) failed: files missing-fl.O and $srcdir/missing-fl.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test missing-fl may have failed." 1>&2;
+ 2) $echo "Test missing-fl(F) may have failed." 1>&2;
+ $echo The command "cmp missing-fl.O $srcdir/missing-fl.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s missing-fl.E || rm -f missing-fl.E
+cat $srcdir/missing-fl.I | $xx -f > missing-fl.O 2> missing-fl.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test missing-fl(|) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp missing-fl.O $srcdir/missing-fl.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed missing-fl(|)"; fi ;;
+ 1) $echo "Test missing-fl(|) failed: files missing-fl.O and $srcdir/missing-fl.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test missing-fl(|) may have failed." 1>&2;
+ $echo The command "cmp missing-fl.O $srcdir/missing-fl.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s missing-fl.E || rm -f missing-fl.E
+$xx -f < $srcdir/missing-fl.I > missing-fl.O 2> missing-fl.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test missing-fl(<) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp missing-fl.O $srcdir/missing-fl.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed missing-fl(<)"; fi ;;
+ 1) $echo "Test missing-fl(<) failed: files missing-fl.O and $srcdir/missing-fl.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test missing-fl(<) may have failed." 1>&2;
$echo The command "cmp missing-fl.O $srcdir/missing-fl.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -641,15 +1899,49 @@ test -s missing-fl.E || rm -f missing-fl.E
$xx -b '' $srcdir/empty-bl.I > empty-bl.O 2> empty-bl.E
code=$?
if test $code != 1 ; then
- $echo "Test empty-bl failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ $echo "Test empty-bl(F) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp empty-bl.O $srcdir/empty-bl.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed empty-bl(F)"; fi ;;
+ 1) $echo "Test empty-bl(F) failed: files empty-bl.O and $srcdir/empty-bl.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test empty-bl(F) may have failed." 1>&2;
+ $echo The command "cmp empty-bl.O $srcdir/empty-bl.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s empty-bl.E || rm -f empty-bl.E
+cat $srcdir/empty-bl.I | $xx -b '' > empty-bl.O 2> empty-bl.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test empty-bl(|) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp empty-bl.O $srcdir/empty-bl.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed empty-bl(|)"; fi ;;
+ 1) $echo "Test empty-bl(|) failed: files empty-bl.O and $srcdir/empty-bl.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test empty-bl(|) may have failed." 1>&2;
+ $echo The command "cmp empty-bl.O $srcdir/empty-bl.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s empty-bl.E || rm -f empty-bl.E
+$xx -b '' < $srcdir/empty-bl.I > empty-bl.O 2> empty-bl.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test empty-bl(<) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp empty-bl.O $srcdir/empty-bl.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed empty-bl"; fi ;;
- 1) $echo "Test empty-bl failed: files empty-bl.O and $srcdir/empty-bl.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed empty-bl(<)"; fi ;;
+ 1) $echo "Test empty-bl(<) failed: files empty-bl.O and $srcdir/empty-bl.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test empty-bl may have failed." 1>&2;
+ 2) $echo "Test empty-bl(<) may have failed." 1>&2;
$echo The command "cmp empty-bl.O $srcdir/empty-bl.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
@@ -658,15 +1950,49 @@ test -s empty-bl.E || rm -f empty-bl.E
$xx -b $srcdir/missing-bl.I > missing-bl.O 2> missing-bl.E
code=$?
if test $code != 1 ; then
- $echo "Test missing-bl failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ $echo "Test missing-bl(F) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp missing-bl.O $srcdir/missing-bl.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed missing-bl(F)"; fi ;;
+ 1) $echo "Test missing-bl(F) failed: files missing-bl.O and $srcdir/missing-bl.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test missing-bl(F) may have failed." 1>&2;
+ $echo The command "cmp missing-bl.O $srcdir/missing-bl.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s missing-bl.E || rm -f missing-bl.E
+cat $srcdir/missing-bl.I | $xx -b > missing-bl.O 2> missing-bl.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test missing-bl(|) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp missing-bl.O $srcdir/missing-bl.X
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed missing-bl(|)"; fi ;;
+ 1) $echo "Test missing-bl(|) failed: files missing-bl.O and $srcdir/missing-bl.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test missing-bl(|) may have failed." 1>&2;
+ $echo The command "cmp missing-bl.O $srcdir/missing-bl.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s missing-bl.E || rm -f missing-bl.E
+$xx -b < $srcdir/missing-bl.I > missing-bl.O 2> missing-bl.E
+code=$?
+if test $code != 1 ; then
+ $echo "Test missing-bl(<) failed: ../../src/cut return code $code differs from expected value 1" 1>&2
errors=`expr $errors + 1`
else
cmp missing-bl.O $srcdir/missing-bl.X
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed missing-bl"; fi ;;
- 1) $echo "Test missing-bl failed: files missing-bl.O and $srcdir/missing-bl.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed missing-bl(<)"; fi ;;
+ 1) $echo "Test missing-bl(<) failed: files missing-bl.O and $srcdir/missing-bl.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test missing-bl may have failed." 1>&2;
+ 2) $echo "Test missing-bl(<) may have failed." 1>&2;
$echo The command "cmp missing-bl.O $srcdir/missing-bl.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac