diff options
Diffstat (limited to 'tests/cut')
-rwxr-xr-x | tests/cut/cut-tests | 2781 |
1 files changed, 0 insertions, 2781 deletions
diff --git a/tests/cut/cut-tests b/tests/cut/cut-tests deleted file mode 100755 index 570232512..000000000 --- a/tests/cut/cut-tests +++ /dev/null @@ -1,2781 +0,0 @@ -#! /bin/sh -# This script was generated automatically by mk-script. -case $# in - 0) xx='../../src/cut';; - *) xx="$1";; -esac -test "$VERBOSE" && echo=echo || echo=: -$echo testing program: $xx -errors=0 -test "$srcdir" || srcdir=. -test "$VERBOSE" && $xx --version 2> /dev/null - -# Make sure we get English translations. -LANGUAGE=C -export LANGUAGE -LC_ALL=C -export LC_ALL -LANG=C -export LANG - -$xx -d: -f1,3- $srcdir/1.I > 1.O 2> 1.E -code=$? -if test $code != 0; then - $echo "Test 1(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 1.O $srcdir/1.X > /dev/null 2>&1 - case $? in - 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 - (diff -c 1.O $srcdir/1.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 1.O $srcdir/1.X > /dev/null 2>&1 - 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 - (diff -c 1.O $srcdir/1.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 1.O $srcdir/1.X > /dev/null 2>&1 - 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 - (diff -c 1.O $srcdir/1.X) 2> /dev/null - 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/2.I > 2.O 2> 2.E -code=$? -if test $code != 0; then - $echo "Test 2(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 2.O $srcdir/2.X > /dev/null 2>&1 - case $? in - 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 - (diff -c 2.O $srcdir/2.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 2.O $srcdir/2.X > /dev/null 2>&1 - 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 - (diff -c 2.O $srcdir/2.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 2.O $srcdir/2.X > /dev/null 2>&1 - 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 - (diff -c 2.O $srcdir/2.X) 2> /dev/null - 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: -f2- $srcdir/3.I > 3.O 2> 3.E -code=$? -if test $code != 0; then - $echo "Test 3(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 3.O $srcdir/3.X > /dev/null 2>&1 - case $? in - 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 - (diff -c 3.O $srcdir/3.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 3.O $srcdir/3.X > /dev/null 2>&1 - 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 - (diff -c 3.O $srcdir/3.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 3.O $srcdir/3.X > /dev/null 2>&1 - 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 - (diff -c 3.O $srcdir/3.X) 2> /dev/null - 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: -f4 $srcdir/4.I > 4.O 2> 4.E -code=$? -if test $code != 0; then - $echo "Test 4(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 4.O $srcdir/4.X > /dev/null 2>&1 - 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 - (diff -c 4.O $srcdir/4.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 4.O $srcdir/4.X > /dev/null 2>&1 - 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 - (diff -c 4.O $srcdir/4.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 4.O $srcdir/4.X > /dev/null 2>&1 - 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 - (diff -c 4.O $srcdir/4.X) 2> /dev/null - 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/5.I > 5.O 2> 5.E -code=$? -if test $code != 0; then - $echo "Test 5(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 5.O $srcdir/5.X > /dev/null 2>&1 - 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 - (diff -c 5.O $srcdir/5.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 5.O $srcdir/5.X > /dev/null 2>&1 - 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 - (diff -c 5.O $srcdir/5.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 5.O $srcdir/5.X > /dev/null 2>&1 - 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 - (diff -c 5.O $srcdir/5.X) 2> /dev/null - 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 -c4 $srcdir/6.I > 6.O 2> 6.E -code=$? -if test $code != 0; then - $echo "Test 6(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 6.O $srcdir/6.X > /dev/null 2>&1 - 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 - (diff -c 6.O $srcdir/6.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 6.O $srcdir/6.X > /dev/null 2>&1 - 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 - (diff -c 6.O $srcdir/6.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 6.O $srcdir/6.X > /dev/null 2>&1 - 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 - (diff -c 6.O $srcdir/6.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 7.O $srcdir/7.X > /dev/null 2>&1 - case $? in - 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 - (diff -c 7.O $srcdir/7.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 7.O $srcdir/7.X > /dev/null 2>&1 - 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 - (diff -c 7.O $srcdir/7.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 7.O $srcdir/7.X > /dev/null 2>&1 - 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 - (diff -c 7.O $srcdir/7.X) 2> /dev/null - 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/8.I > 8.O 2> 8.E -code=$? -if test $code != 0; then - $echo "Test 8(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 8.O $srcdir/8.X > /dev/null 2>&1 - case $? in - 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 - (diff -c 8.O $srcdir/8.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 8.O $srcdir/8.X > /dev/null 2>&1 - 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 - (diff -c 8.O $srcdir/8.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 8.O $srcdir/8.X > /dev/null 2>&1 - 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 - (diff -c 8.O $srcdir/8.X) 2> /dev/null - 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/9.I > 9.O 2> 9.E -code=$? -if test $code != 0; then - $echo "Test 9(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 9.O $srcdir/9.X > /dev/null 2>&1 - 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 - (diff -c 9.O $srcdir/9.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 9.O $srcdir/9.X > /dev/null 2>&1 - 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 - (diff -c 9.O $srcdir/9.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 9.O $srcdir/9.X > /dev/null 2>&1 - 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 - (diff -c 9.O $srcdir/9.X) 2> /dev/null - 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 -s -d: -f3- $srcdir/a.I > a.O 2> a.E -code=$? -if test $code != 0; then - $echo "Test a(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp a.O $srcdir/a.X > /dev/null 2>&1 - 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 - (diff -c a.O $srcdir/a.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp a.O $srcdir/a.X > /dev/null 2>&1 - 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 - (diff -c a.O $srcdir/a.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp a.O $srcdir/a.X > /dev/null 2>&1 - 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 - (diff -c a.O $srcdir/a.X) 2> /dev/null - 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: -f2,3 $srcdir/b.I > b.O 2> b.E -code=$? -if test $code != 0; then - $echo "Test b(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp b.O $srcdir/b.X > /dev/null 2>&1 - 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 - (diff -c b.O $srcdir/b.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp b.O $srcdir/b.X > /dev/null 2>&1 - 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 - (diff -c b.O $srcdir/b.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp b.O $srcdir/b.X > /dev/null 2>&1 - 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 - (diff -c b.O $srcdir/b.X) 2> /dev/null - 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: -f1,3 $srcdir/c.I > c.O 2> c.E -code=$? -if test $code != 0; then - $echo "Test c(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp c.O $srcdir/c.X > /dev/null 2>&1 - case $? in - 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 - (diff -c c.O $srcdir/c.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp c.O $srcdir/c.X > /dev/null 2>&1 - 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 - (diff -c c.O $srcdir/c.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp c.O $srcdir/c.X > /dev/null 2>&1 - 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 - (diff -c c.O $srcdir/c.X) 2> /dev/null - 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/d.I > d.O 2> d.E -code=$? -if test $code != 0; then - $echo "Test d(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp d.O $srcdir/d.X > /dev/null 2>&1 - case $? in - 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 - (diff -c d.O $srcdir/d.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp d.O $srcdir/d.X > /dev/null 2>&1 - 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 - (diff -c d.O $srcdir/d.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp d.O $srcdir/d.X > /dev/null 2>&1 - 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 - (diff -c d.O $srcdir/d.X) 2> /dev/null - 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: -f3- $srcdir/e.I > e.O 2> e.E -code=$? -if test $code != 0; then - $echo "Test e(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp e.O $srcdir/e.X > /dev/null 2>&1 - 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 - (diff -c e.O $srcdir/e.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp e.O $srcdir/e.X > /dev/null 2>&1 - 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 - (diff -c e.O $srcdir/e.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp e.O $srcdir/e.X > /dev/null 2>&1 - 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 - (diff -c e.O $srcdir/e.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp f.O $srcdir/f.X > /dev/null 2>&1 - 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 - (diff -c f.O $srcdir/f.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp f.O $srcdir/f.X > /dev/null 2>&1 - 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 - (diff -c f.O $srcdir/f.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp f.O $srcdir/f.X > /dev/null 2>&1 - 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 - (diff -c f.O $srcdir/f.X) 2> /dev/null - 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/g.I > g.O 2> g.E -code=$? -if test $code != 0; then - $echo "Test g(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp g.O $srcdir/g.X > /dev/null 2>&1 - 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 - (diff -c g.O $srcdir/g.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp g.O $srcdir/g.X > /dev/null 2>&1 - 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 - (diff -c g.O $srcdir/g.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp g.O $srcdir/g.X > /dev/null 2>&1 - 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 - (diff -c g.O $srcdir/g.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp h.O $srcdir/h.X > /dev/null 2>&1 - 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 - (diff -c h.O $srcdir/h.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp h.O $srcdir/h.X > /dev/null 2>&1 - 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 - (diff -c h.O $srcdir/h.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp h.O $srcdir/h.X > /dev/null 2>&1 - 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 - (diff -c h.O $srcdir/h.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp i.O $srcdir/i.X > /dev/null 2>&1 - case $? in - 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 - (diff -c i.O $srcdir/i.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp i.O $srcdir/i.X > /dev/null 2>&1 - 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 - (diff -c i.O $srcdir/i.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp i.O $srcdir/i.X > /dev/null 2>&1 - 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 - (diff -c i.O $srcdir/i.X) 2> /dev/null - 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-4 $srcdir/j.I > j.O 2> j.E -code=$? -if test $code != 0; then - $echo "Test j(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp j.O $srcdir/j.X > /dev/null 2>&1 - 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 - (diff -c j.O $srcdir/j.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp j.O $srcdir/j.X > /dev/null 2>&1 - 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 - (diff -c j.O $srcdir/j.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp j.O $srcdir/j.X > /dev/null 2>&1 - 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 - (diff -c j.O $srcdir/j.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp k.O $srcdir/k.X > /dev/null 2>&1 - 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 - (diff -c k.O $srcdir/k.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp k.O $srcdir/k.X > /dev/null 2>&1 - 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 - (diff -c k.O $srcdir/k.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp k.O $srcdir/k.X > /dev/null 2>&1 - 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 - (diff -c k.O $srcdir/k.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp l.O $srcdir/l.X > /dev/null 2>&1 - 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 - (diff -c l.O $srcdir/l.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp l.O $srcdir/l.X > /dev/null 2>&1 - 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 - (diff -c l.O $srcdir/l.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp l.O $srcdir/l.X > /dev/null 2>&1 - 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 - (diff -c l.O $srcdir/l.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp m.O $srcdir/m.X > /dev/null 2>&1 - case $? in - 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 - (diff -c m.O $srcdir/m.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp m.O $srcdir/m.X > /dev/null 2>&1 - 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 - (diff -c m.O $srcdir/m.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp m.O $srcdir/m.X > /dev/null 2>&1 - 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 - (diff -c m.O $srcdir/m.X) 2> /dev/null - 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-4 $srcdir/n.I > n.O 2> n.E -code=$? -if test $code != 0; then - $echo "Test n(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp n.O $srcdir/n.X > /dev/null 2>&1 - case $? in - 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 - (diff -c n.O $srcdir/n.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp n.O $srcdir/n.X > /dev/null 2>&1 - 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 - (diff -c n.O $srcdir/n.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp n.O $srcdir/n.X > /dev/null 2>&1 - 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 - (diff -c n.O $srcdir/n.X) 2> /dev/null - 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: -f2-3 $srcdir/o.I > o.O 2> o.E -code=$? -if test $code != 0; then - $echo "Test o(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp o.O $srcdir/o.X > /dev/null 2>&1 - 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 - (diff -c o.O $srcdir/o.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp o.O $srcdir/o.X > /dev/null 2>&1 - 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 - (diff -c o.O $srcdir/o.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp o.O $srcdir/o.X > /dev/null 2>&1 - 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 - (diff -c o.O $srcdir/o.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp p.O $srcdir/p.X > /dev/null 2>&1 - 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 - (diff -c p.O $srcdir/p.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp p.O $srcdir/p.X > /dev/null 2>&1 - 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 - (diff -c p.O $srcdir/p.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp p.O $srcdir/p.X > /dev/null 2>&1 - 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 - (diff -c p.O $srcdir/p.X) 2> /dev/null - 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/q.I > q.O 2> q.E -code=$? -if test $code != 0; then - $echo "Test q(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp q.O $srcdir/q.X > /dev/null 2>&1 - case $? in - 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 - (diff -c q.O $srcdir/q.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp q.O $srcdir/q.X > /dev/null 2>&1 - 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 - (diff -c q.O $srcdir/q.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp q.O $srcdir/q.X > /dev/null 2>&1 - 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 - (diff -c q.O $srcdir/q.X) 2> /dev/null - 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/r.I > r.O 2> r.E -code=$? -if test $code != 0; then - $echo "Test r(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp r.O $srcdir/r.X > /dev/null 2>&1 - case $? in - 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 - (diff -c r.O $srcdir/r.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp r.O $srcdir/r.X > /dev/null 2>&1 - 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 - (diff -c r.O $srcdir/r.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp r.O $srcdir/r.X > /dev/null 2>&1 - 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 - (diff -c r.O $srcdir/r.X) 2> /dev/null - 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: -f1-4 $srcdir/s.I > s.O 2> s.E -code=$? -if test $code != 0; then - $echo "Test s(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp s.O $srcdir/s.X > /dev/null 2>&1 - case $? in - 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 - (diff -c s.O $srcdir/s.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp s.O $srcdir/s.X > /dev/null 2>&1 - 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 - (diff -c s.O $srcdir/s.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp s.O $srcdir/s.X > /dev/null 2>&1 - 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 - (diff -c s.O $srcdir/s.X) 2> /dev/null - 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: -f3- $srcdir/t.I > t.O 2> t.E -code=$? -if test $code != 0; then - $echo "Test t(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp t.O $srcdir/t.X > /dev/null 2>&1 - 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 - (diff -c t.O $srcdir/t.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp t.O $srcdir/t.X > /dev/null 2>&1 - 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 - (diff -c t.O $srcdir/t.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp t.O $srcdir/t.X > /dev/null 2>&1 - 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 - (diff -c t.O $srcdir/t.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp u.O $srcdir/u.X > /dev/null 2>&1 - 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 - (diff -c u.O $srcdir/u.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp u.O $srcdir/u.X > /dev/null 2>&1 - 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 - (diff -c u.O $srcdir/u.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp u.O $srcdir/u.X > /dev/null 2>&1 - 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 - (diff -c u.O $srcdir/u.X) 2> /dev/null - 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 -f3- $srcdir/v.I > v.O 2> v.E -code=$? -if test $code != 0; then - $echo "Test v(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp v.O $srcdir/v.X > /dev/null 2>&1 - 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 - (diff -c v.O $srcdir/v.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp v.O $srcdir/v.X > /dev/null 2>&1 - 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 - (diff -c v.O $srcdir/v.X) 2> /dev/null - 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 -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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp v.O $srcdir/v.X > /dev/null 2>&1 - 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 - (diff -c v.O $srcdir/v.X) 2> /dev/null - 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 -fi -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(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp w.O $srcdir/w.X > /dev/null 2>&1 - case $? in - 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 - (diff -c w.O $srcdir/w.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp w.O $srcdir/w.X > /dev/null 2>&1 - 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 - (diff -c w.O $srcdir/w.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp w.O $srcdir/w.X > /dev/null 2>&1 - 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 - (diff -c w.O $srcdir/w.X) 2> /dev/null - 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 -s -d: -f2-4 $srcdir/x.I > x.O 2> x.E -code=$? -if test $code != 0; then - $echo "Test x(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp x.O $srcdir/x.X > /dev/null 2>&1 - 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 - (diff -c x.O $srcdir/x.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp x.O $srcdir/x.X > /dev/null 2>&1 - 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 - (diff -c x.O $srcdir/x.X) 2> /dev/null - 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: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp x.O $srcdir/x.X > /dev/null 2>&1 - 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 - (diff -c x.O $srcdir/x.X) 2> /dev/null - 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 -b4 $srcdir/y.I > y.O 2> y.E -code=$? -if test $code != 1; then - $echo "Test y(F) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp y.O $srcdir/y.X > /dev/null 2>&1 - case $? in - 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 - (diff -c y.O $srcdir/y.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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 -$xx -s -b4 < $srcdir/y.I > y.O 2> y.E -code=$? -if test $code != 1; then - $echo "Test y(<) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp y.O $srcdir/y.X > /dev/null 2>&1 - 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 - (diff -c y.O $srcdir/y.X) 2> /dev/null - 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 $srcdir/z.I > z.O 2> z.E -code=$? -if test $code != 1; then - $echo "Test z(F) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp z.O $srcdir/z.X > /dev/null 2>&1 - 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 - (diff -c z.O $srcdir/z.X) 2> /dev/null - 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 -$xx < $srcdir/z.I > z.O 2> z.E -code=$? -if test $code != 1; then - $echo "Test z(<) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp z.O $srcdir/z.X > /dev/null 2>&1 - 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 - (diff -c z.O $srcdir/z.X) 2> /dev/null - 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 -f '' $srcdir/empty-fl.I > empty-fl.O 2> empty-fl.E -code=$? -if test $code != 1; then - $echo "Test empty-fl(F) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-fl.O $srcdir/empty-fl.X > /dev/null 2>&1 - case $? in - 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 - (diff -c empty-fl.O $srcdir/empty-fl.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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 -$xx -f '' < $srcdir/empty-fl.I > empty-fl.O 2> empty-fl.E -code=$? -if test $code != 1; then - $echo "Test empty-fl(<) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-fl.O $srcdir/empty-fl.X > /dev/null 2>&1 - 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 - (diff -c empty-fl.O $srcdir/empty-fl.X) 2> /dev/null - 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/missing-fl.I > missing-fl.O 2> missing-fl.E -code=$? -if test $code != 1; then - $echo "Test missing-fl(F) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp missing-fl.O $srcdir/missing-fl.X > /dev/null 2>&1 - case $? in - 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 - (diff -c missing-fl.O $srcdir/missing-fl.X) 2> /dev/null - errors=`expr $errors + 1`;; - 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 -$xx -f < $srcdir/missing-fl.I > missing-fl.O 2> missing-fl.E -code=$? -if test $code != 1; then - $echo "Test missing-fl(<) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp missing-fl.O $srcdir/missing-fl.X > /dev/null 2>&1 - 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 - (diff -c missing-fl.O $srcdir/missing-fl.X) 2> /dev/null - 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 -b '' $srcdir/empty-bl.I > empty-bl.O 2> empty-bl.E -code=$? -if test $code != 1; then - $echo "Test empty-bl(F) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-bl.O $srcdir/empty-bl.X > /dev/null 2>&1 - 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 - (diff -c empty-bl.O $srcdir/empty-bl.X) 2> /dev/null - 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 -$xx -b '' < $srcdir/empty-bl.I > empty-bl.O 2> empty-bl.E -code=$? -if test $code != 1; then - $echo "Test empty-bl(<) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-bl.O $srcdir/empty-bl.X > /dev/null 2>&1 - 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 - (diff -c empty-bl.O $srcdir/empty-bl.X) 2> /dev/null - 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/missing-bl.I > missing-bl.O 2> missing-bl.E -code=$? -if test $code != 1; then - $echo "Test missing-bl(F) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp missing-bl.O $srcdir/missing-bl.X > /dev/null 2>&1 - 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 - (diff -c missing-bl.O $srcdir/missing-bl.X) 2> /dev/null - 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 -$xx -b < $srcdir/missing-bl.I > missing-bl.O 2> missing-bl.E -code=$? -if test $code != 1; then - $echo "Test missing-bl(<) failed: $xx return code $code differs from expected value 1" 1>&2 - errors=`expr $errors + 1` -else - cmp missing-bl.O $srcdir/missing-bl.X > /dev/null 2>&1 - 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 - (diff -c missing-bl.O $srcdir/missing-bl.X) 2> /dev/null - 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 -f1 $srcdir/empty-f1.I > empty-f1.O 2> empty-f1.E -code=$? -if test $code != 0; then - $echo "Test empty-f1(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-f1.O $srcdir/empty-f1.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed empty-f1(F)"; fi;; - 1) $echo "Test empty-f1(F) failed: files empty-f1.O and $srcdir/empty-f1.X differ" 1>&2 - (diff -c empty-f1.O $srcdir/empty-f1.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test empty-f1(F) may have failed." 1>&2 - $echo The command "cmp empty-f1.O $srcdir/empty-f1.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s empty-f1.E || rm -f empty-f1.E -cat $srcdir/empty-f1.I | $xx -f1 > empty-f1.O 2> empty-f1.E -code=$? -if test $code != 0; then - $echo "Test empty-f1(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-f1.O $srcdir/empty-f1.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed empty-f1(|)"; fi;; - 1) $echo "Test empty-f1(|) failed: files empty-f1.O and $srcdir/empty-f1.X differ" 1>&2 - (diff -c empty-f1.O $srcdir/empty-f1.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test empty-f1(|) may have failed." 1>&2 - $echo The command "cmp empty-f1.O $srcdir/empty-f1.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s empty-f1.E || rm -f empty-f1.E -$xx -f1 < $srcdir/empty-f1.I > empty-f1.O 2> empty-f1.E -code=$? -if test $code != 0; then - $echo "Test empty-f1(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-f1.O $srcdir/empty-f1.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed empty-f1(<)"; fi;; - 1) $echo "Test empty-f1(<) failed: files empty-f1.O and $srcdir/empty-f1.X differ" 1>&2 - (diff -c empty-f1.O $srcdir/empty-f1.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test empty-f1(<) may have failed." 1>&2 - $echo The command "cmp empty-f1.O $srcdir/empty-f1.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s empty-f1.E || rm -f empty-f1.E -$xx -f2 $srcdir/empty-f2.I > empty-f2.O 2> empty-f2.E -code=$? -if test $code != 0; then - $echo "Test empty-f2(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-f2.O $srcdir/empty-f2.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed empty-f2(F)"; fi;; - 1) $echo "Test empty-f2(F) failed: files empty-f2.O and $srcdir/empty-f2.X differ" 1>&2 - (diff -c empty-f2.O $srcdir/empty-f2.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test empty-f2(F) may have failed." 1>&2 - $echo The command "cmp empty-f2.O $srcdir/empty-f2.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s empty-f2.E || rm -f empty-f2.E -cat $srcdir/empty-f2.I | $xx -f2 > empty-f2.O 2> empty-f2.E -code=$? -if test $code != 0; then - $echo "Test empty-f2(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-f2.O $srcdir/empty-f2.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed empty-f2(|)"; fi;; - 1) $echo "Test empty-f2(|) failed: files empty-f2.O and $srcdir/empty-f2.X differ" 1>&2 - (diff -c empty-f2.O $srcdir/empty-f2.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test empty-f2(|) may have failed." 1>&2 - $echo The command "cmp empty-f2.O $srcdir/empty-f2.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s empty-f2.E || rm -f empty-f2.E -$xx -f2 < $srcdir/empty-f2.I > empty-f2.O 2> empty-f2.E -code=$? -if test $code != 0; then - $echo "Test empty-f2(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp empty-f2.O $srcdir/empty-f2.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed empty-f2(<)"; fi;; - 1) $echo "Test empty-f2(<) failed: files empty-f2.O and $srcdir/empty-f2.X differ" 1>&2 - (diff -c empty-f2.O $srcdir/empty-f2.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test empty-f2(<) may have failed." 1>&2 - $echo The command "cmp empty-f2.O $srcdir/empty-f2.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s empty-f2.E || rm -f empty-f2.E -$xx -d: -f2,3 --out=_ $srcdir/o-delim.I > o-delim.O 2> o-delim.E -code=$? -if test $code != 0; then - $echo "Test o-delim(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp o-delim.O $srcdir/o-delim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed o-delim(F)"; fi;; - 1) $echo "Test o-delim(F) failed: files o-delim.O and $srcdir/o-delim.X differ" 1>&2 - (diff -c o-delim.O $srcdir/o-delim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test o-delim(F) may have failed." 1>&2 - $echo The command "cmp o-delim.O $srcdir/o-delim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s o-delim.E || rm -f o-delim.E -cat $srcdir/o-delim.I | $xx -d: -f2,3 --out=_ > o-delim.O 2> o-delim.E -code=$? -if test $code != 0; then - $echo "Test o-delim(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp o-delim.O $srcdir/o-delim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed o-delim(|)"; fi;; - 1) $echo "Test o-delim(|) failed: files o-delim.O and $srcdir/o-delim.X differ" 1>&2 - (diff -c o-delim.O $srcdir/o-delim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test o-delim(|) may have failed." 1>&2 - $echo The command "cmp o-delim.O $srcdir/o-delim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s o-delim.E || rm -f o-delim.E -$xx -d: -f2,3 --out=_ < $srcdir/o-delim.I > o-delim.O 2> o-delim.E -code=$? -if test $code != 0; then - $echo "Test o-delim(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp o-delim.O $srcdir/o-delim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed o-delim(<)"; fi;; - 1) $echo "Test o-delim(<) failed: files o-delim.O and $srcdir/o-delim.X differ" 1>&2 - (diff -c o-delim.O $srcdir/o-delim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test o-delim(<) may have failed." 1>&2 - $echo The command "cmp o-delim.O $srcdir/o-delim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s o-delim.E || rm -f o-delim.E -$xx -d '' -f2,3 --out=_ $srcdir/nul-idelim.I > nul-idelim.O 2> nul-idelim.E -code=$? -if test $code != 0; then - $echo "Test nul-idelim(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp nul-idelim.O $srcdir/nul-idelim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed nul-idelim(F)"; fi;; - 1) $echo "Test nul-idelim(F) failed: files nul-idelim.O and $srcdir/nul-idelim.X differ" 1>&2 - (diff -c nul-idelim.O $srcdir/nul-idelim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test nul-idelim(F) may have failed." 1>&2 - $echo The command "cmp nul-idelim.O $srcdir/nul-idelim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s nul-idelim.E || rm -f nul-idelim.E -cat $srcdir/nul-idelim.I | $xx -d '' -f2,3 --out=_ > nul-idelim.O 2> nul-idelim.E -code=$? -if test $code != 0; then - $echo "Test nul-idelim(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp nul-idelim.O $srcdir/nul-idelim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed nul-idelim(|)"; fi;; - 1) $echo "Test nul-idelim(|) failed: files nul-idelim.O and $srcdir/nul-idelim.X differ" 1>&2 - (diff -c nul-idelim.O $srcdir/nul-idelim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test nul-idelim(|) may have failed." 1>&2 - $echo The command "cmp nul-idelim.O $srcdir/nul-idelim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s nul-idelim.E || rm -f nul-idelim.E -$xx -d '' -f2,3 --out=_ < $srcdir/nul-idelim.I > nul-idelim.O 2> nul-idelim.E -code=$? -if test $code != 0; then - $echo "Test nul-idelim(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp nul-idelim.O $srcdir/nul-idelim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed nul-idelim(<)"; fi;; - 1) $echo "Test nul-idelim(<) failed: files nul-idelim.O and $srcdir/nul-idelim.X differ" 1>&2 - (diff -c nul-idelim.O $srcdir/nul-idelim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test nul-idelim(<) may have failed." 1>&2 - $echo The command "cmp nul-idelim.O $srcdir/nul-idelim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s nul-idelim.E || rm -f nul-idelim.E -$xx -d: -f2,3 --out= $srcdir/nul-odelim.I > nul-odelim.O 2> nul-odelim.E -code=$? -if test $code != 0; then - $echo "Test nul-odelim(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp nul-odelim.O $srcdir/nul-odelim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed nul-odelim(F)"; fi;; - 1) $echo "Test nul-odelim(F) failed: files nul-odelim.O and $srcdir/nul-odelim.X differ" 1>&2 - (diff -c nul-odelim.O $srcdir/nul-odelim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test nul-odelim(F) may have failed." 1>&2 - $echo The command "cmp nul-odelim.O $srcdir/nul-odelim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s nul-odelim.E || rm -f nul-odelim.E -cat $srcdir/nul-odelim.I | $xx -d: -f2,3 --out= > nul-odelim.O 2> nul-odelim.E -code=$? -if test $code != 0; then - $echo "Test nul-odelim(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp nul-odelim.O $srcdir/nul-odelim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed nul-odelim(|)"; fi;; - 1) $echo "Test nul-odelim(|) failed: files nul-odelim.O and $srcdir/nul-odelim.X differ" 1>&2 - (diff -c nul-odelim.O $srcdir/nul-odelim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test nul-odelim(|) may have failed." 1>&2 - $echo The command "cmp nul-odelim.O $srcdir/nul-odelim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s nul-odelim.E || rm -f nul-odelim.E -$xx -d: -f2,3 --out= < $srcdir/nul-odelim.I > nul-odelim.O 2> nul-odelim.E -code=$? -if test $code != 0; then - $echo "Test nul-odelim(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp nul-odelim.O $srcdir/nul-odelim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed nul-odelim(<)"; fi;; - 1) $echo "Test nul-odelim(<) failed: files nul-odelim.O and $srcdir/nul-odelim.X differ" 1>&2 - (diff -c nul-odelim.O $srcdir/nul-odelim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test nul-odelim(<) may have failed." 1>&2 - $echo The command "cmp nul-odelim.O $srcdir/nul-odelim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s nul-odelim.E || rm -f nul-odelim.E -$xx -d: -f2,3 --out=_._ $srcdir/multichar-od.I > multichar-od.O 2> multichar-od.E -code=$? -if test $code != 0; then - $echo "Test multichar-od(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp multichar-od.O $srcdir/multichar-od.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed multichar-od(F)"; fi;; - 1) $echo "Test multichar-od(F) failed: files multichar-od.O and $srcdir/multichar-od.X differ" 1>&2 - (diff -c multichar-od.O $srcdir/multichar-od.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test multichar-od(F) may have failed." 1>&2 - $echo The command "cmp multichar-od.O $srcdir/multichar-od.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s multichar-od.E || rm -f multichar-od.E -cat $srcdir/multichar-od.I | $xx -d: -f2,3 --out=_._ > multichar-od.O 2> multichar-od.E -code=$? -if test $code != 0; then - $echo "Test multichar-od(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp multichar-od.O $srcdir/multichar-od.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed multichar-od(|)"; fi;; - 1) $echo "Test multichar-od(|) failed: files multichar-od.O and $srcdir/multichar-od.X differ" 1>&2 - (diff -c multichar-od.O $srcdir/multichar-od.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test multichar-od(|) may have failed." 1>&2 - $echo The command "cmp multichar-od.O $srcdir/multichar-od.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s multichar-od.E || rm -f multichar-od.E -$xx -d: -f2,3 --out=_._ < $srcdir/multichar-od.I > multichar-od.O 2> multichar-od.E -code=$? -if test $code != 0; then - $echo "Test multichar-od(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp multichar-od.O $srcdir/multichar-od.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed multichar-od(<)"; fi;; - 1) $echo "Test multichar-od(<) failed: files multichar-od.O and $srcdir/multichar-od.X differ" 1>&2 - (diff -c multichar-od.O $srcdir/multichar-od.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test multichar-od(<) may have failed." 1>&2 - $echo The command "cmp multichar-od.O $srcdir/multichar-od.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s multichar-od.E || rm -f multichar-od.E -$xx '-d' -f2,3 --out=_ $srcdir/8bit-delim.I > 8bit-delim.O 2> 8bit-delim.E -code=$? -if test $code != 0; then - $echo "Test 8bit-delim(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 8bit-delim.O $srcdir/8bit-delim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed 8bit-delim(F)"; fi;; - 1) $echo "Test 8bit-delim(F) failed: files 8bit-delim.O and $srcdir/8bit-delim.X differ" 1>&2 - (diff -c 8bit-delim.O $srcdir/8bit-delim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test 8bit-delim(F) may have failed." 1>&2 - $echo The command "cmp 8bit-delim.O $srcdir/8bit-delim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s 8bit-delim.E || rm -f 8bit-delim.E -cat $srcdir/8bit-delim.I | $xx '-d' -f2,3 --out=_ > 8bit-delim.O 2> 8bit-delim.E -code=$? -if test $code != 0; then - $echo "Test 8bit-delim(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 8bit-delim.O $srcdir/8bit-delim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed 8bit-delim(|)"; fi;; - 1) $echo "Test 8bit-delim(|) failed: files 8bit-delim.O and $srcdir/8bit-delim.X differ" 1>&2 - (diff -c 8bit-delim.O $srcdir/8bit-delim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test 8bit-delim(|) may have failed." 1>&2 - $echo The command "cmp 8bit-delim.O $srcdir/8bit-delim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s 8bit-delim.E || rm -f 8bit-delim.E -$xx '-d' -f2,3 --out=_ < $srcdir/8bit-delim.I > 8bit-delim.O 2> 8bit-delim.E -code=$? -if test $code != 0; then - $echo "Test 8bit-delim(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp 8bit-delim.O $srcdir/8bit-delim.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed 8bit-delim(<)"; fi;; - 1) $echo "Test 8bit-delim(<) failed: files 8bit-delim.O and $srcdir/8bit-delim.X differ" 1>&2 - (diff -c 8bit-delim.O $srcdir/8bit-delim.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test 8bit-delim(<) may have failed." 1>&2 - $echo The command "cmp 8bit-delim.O $srcdir/8bit-delim.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s 8bit-delim.E || rm -f 8bit-delim.E -$xx -c1-3,5- --output-d=: $srcdir/out-delim1.I > out-delim1.O 2> out-delim1.E -code=$? -if test $code != 0; then - $echo "Test out-delim1(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim1.O $srcdir/out-delim1.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim1(F)"; fi;; - 1) $echo "Test out-delim1(F) failed: files out-delim1.O and $srcdir/out-delim1.X differ" 1>&2 - (diff -c out-delim1.O $srcdir/out-delim1.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim1(F) may have failed." 1>&2 - $echo The command "cmp out-delim1.O $srcdir/out-delim1.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim1.E || rm -f out-delim1.E -cat $srcdir/out-delim1.I | $xx -c1-3,5- --output-d=: > out-delim1.O 2> out-delim1.E -code=$? -if test $code != 0; then - $echo "Test out-delim1(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim1.O $srcdir/out-delim1.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim1(|)"; fi;; - 1) $echo "Test out-delim1(|) failed: files out-delim1.O and $srcdir/out-delim1.X differ" 1>&2 - (diff -c out-delim1.O $srcdir/out-delim1.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim1(|) may have failed." 1>&2 - $echo The command "cmp out-delim1.O $srcdir/out-delim1.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim1.E || rm -f out-delim1.E -$xx -c1-3,5- --output-d=: < $srcdir/out-delim1.I > out-delim1.O 2> out-delim1.E -code=$? -if test $code != 0; then - $echo "Test out-delim1(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim1.O $srcdir/out-delim1.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim1(<)"; fi;; - 1) $echo "Test out-delim1(<) failed: files out-delim1.O and $srcdir/out-delim1.X differ" 1>&2 - (diff -c out-delim1.O $srcdir/out-delim1.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim1(<) may have failed." 1>&2 - $echo The command "cmp out-delim1.O $srcdir/out-delim1.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim1.E || rm -f out-delim1.E -$xx -c1-3,2,5- --output-d=: $srcdir/out-delim2.I > out-delim2.O 2> out-delim2.E -code=$? -if test $code != 0; then - $echo "Test out-delim2(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim2.O $srcdir/out-delim2.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim2(F)"; fi;; - 1) $echo "Test out-delim2(F) failed: files out-delim2.O and $srcdir/out-delim2.X differ" 1>&2 - (diff -c out-delim2.O $srcdir/out-delim2.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim2(F) may have failed." 1>&2 - $echo The command "cmp out-delim2.O $srcdir/out-delim2.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim2.E || rm -f out-delim2.E -cat $srcdir/out-delim2.I | $xx -c1-3,2,5- --output-d=: > out-delim2.O 2> out-delim2.E -code=$? -if test $code != 0; then - $echo "Test out-delim2(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim2.O $srcdir/out-delim2.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim2(|)"; fi;; - 1) $echo "Test out-delim2(|) failed: files out-delim2.O and $srcdir/out-delim2.X differ" 1>&2 - (diff -c out-delim2.O $srcdir/out-delim2.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim2(|) may have failed." 1>&2 - $echo The command "cmp out-delim2.O $srcdir/out-delim2.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim2.E || rm -f out-delim2.E -$xx -c1-3,2,5- --output-d=: < $srcdir/out-delim2.I > out-delim2.O 2> out-delim2.E -code=$? -if test $code != 0; then - $echo "Test out-delim2(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim2.O $srcdir/out-delim2.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim2(<)"; fi;; - 1) $echo "Test out-delim2(<) failed: files out-delim2.O and $srcdir/out-delim2.X differ" 1>&2 - (diff -c out-delim2.O $srcdir/out-delim2.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim2(<) may have failed." 1>&2 - $echo The command "cmp out-delim2.O $srcdir/out-delim2.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim2.E || rm -f out-delim2.E -$xx -c1-3,2-4,6 --output-d=: $srcdir/out-delim3.I > out-delim3.O 2> out-delim3.E -code=$? -if test $code != 0; then - $echo "Test out-delim3(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim3.O $srcdir/out-delim3.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim3(F)"; fi;; - 1) $echo "Test out-delim3(F) failed: files out-delim3.O and $srcdir/out-delim3.X differ" 1>&2 - (diff -c out-delim3.O $srcdir/out-delim3.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim3(F) may have failed." 1>&2 - $echo The command "cmp out-delim3.O $srcdir/out-delim3.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim3.E || rm -f out-delim3.E -cat $srcdir/out-delim3.I | $xx -c1-3,2-4,6 --output-d=: > out-delim3.O 2> out-delim3.E -code=$? -if test $code != 0; then - $echo "Test out-delim3(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim3.O $srcdir/out-delim3.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim3(|)"; fi;; - 1) $echo "Test out-delim3(|) failed: files out-delim3.O and $srcdir/out-delim3.X differ" 1>&2 - (diff -c out-delim3.O $srcdir/out-delim3.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim3(|) may have failed." 1>&2 - $echo The command "cmp out-delim3.O $srcdir/out-delim3.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim3.E || rm -f out-delim3.E -$xx -c1-3,2-4,6 --output-d=: < $srcdir/out-delim3.I > out-delim3.O 2> out-delim3.E -code=$? -if test $code != 0; then - $echo "Test out-delim3(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim3.O $srcdir/out-delim3.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim3(<)"; fi;; - 1) $echo "Test out-delim3(<) failed: files out-delim3.O and $srcdir/out-delim3.X differ" 1>&2 - (diff -c out-delim3.O $srcdir/out-delim3.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim3(<) may have failed." 1>&2 - $echo The command "cmp out-delim3.O $srcdir/out-delim3.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim3.E || rm -f out-delim3.E -$xx -c1-3,2-4,6- --output-d=: $srcdir/out-delim3a.I > out-delim3a.O 2> out-delim3a.E -code=$? -if test $code != 0; then - $echo "Test out-delim3a(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim3a.O $srcdir/out-delim3a.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim3a(F)"; fi;; - 1) $echo "Test out-delim3a(F) failed: files out-delim3a.O and $srcdir/out-delim3a.X differ" 1>&2 - (diff -c out-delim3a.O $srcdir/out-delim3a.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim3a(F) may have failed." 1>&2 - $echo The command "cmp out-delim3a.O $srcdir/out-delim3a.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim3a.E || rm -f out-delim3a.E -cat $srcdir/out-delim3a.I | $xx -c1-3,2-4,6- --output-d=: > out-delim3a.O 2> out-delim3a.E -code=$? -if test $code != 0; then - $echo "Test out-delim3a(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim3a.O $srcdir/out-delim3a.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim3a(|)"; fi;; - 1) $echo "Test out-delim3a(|) failed: files out-delim3a.O and $srcdir/out-delim3a.X differ" 1>&2 - (diff -c out-delim3a.O $srcdir/out-delim3a.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim3a(|) may have failed." 1>&2 - $echo The command "cmp out-delim3a.O $srcdir/out-delim3a.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim3a.E || rm -f out-delim3a.E -$xx -c1-3,2-4,6- --output-d=: < $srcdir/out-delim3a.I > out-delim3a.O 2> out-delim3a.E -code=$? -if test $code != 0; then - $echo "Test out-delim3a(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim3a.O $srcdir/out-delim3a.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim3a(<)"; fi;; - 1) $echo "Test out-delim3a(<) failed: files out-delim3a.O and $srcdir/out-delim3a.X differ" 1>&2 - (diff -c out-delim3a.O $srcdir/out-delim3a.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim3a(<) may have failed." 1>&2 - $echo The command "cmp out-delim3a.O $srcdir/out-delim3a.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim3a.E || rm -f out-delim3a.E -$xx -c4-,2-3 --output-d=: $srcdir/out-delim4.I > out-delim4.O 2> out-delim4.E -code=$? -if test $code != 0; then - $echo "Test out-delim4(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim4.O $srcdir/out-delim4.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim4(F)"; fi;; - 1) $echo "Test out-delim4(F) failed: files out-delim4.O and $srcdir/out-delim4.X differ" 1>&2 - (diff -c out-delim4.O $srcdir/out-delim4.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim4(F) may have failed." 1>&2 - $echo The command "cmp out-delim4.O $srcdir/out-delim4.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim4.E || rm -f out-delim4.E -cat $srcdir/out-delim4.I | $xx -c4-,2-3 --output-d=: > out-delim4.O 2> out-delim4.E -code=$? -if test $code != 0; then - $echo "Test out-delim4(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim4.O $srcdir/out-delim4.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim4(|)"; fi;; - 1) $echo "Test out-delim4(|) failed: files out-delim4.O and $srcdir/out-delim4.X differ" 1>&2 - (diff -c out-delim4.O $srcdir/out-delim4.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim4(|) may have failed." 1>&2 - $echo The command "cmp out-delim4.O $srcdir/out-delim4.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim4.E || rm -f out-delim4.E -$xx -c4-,2-3 --output-d=: < $srcdir/out-delim4.I > out-delim4.O 2> out-delim4.E -code=$? -if test $code != 0; then - $echo "Test out-delim4(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim4.O $srcdir/out-delim4.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim4(<)"; fi;; - 1) $echo "Test out-delim4(<) failed: files out-delim4.O and $srcdir/out-delim4.X differ" 1>&2 - (diff -c out-delim4.O $srcdir/out-delim4.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim4(<) may have failed." 1>&2 - $echo The command "cmp out-delim4.O $srcdir/out-delim4.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim4.E || rm -f out-delim4.E -$xx -c2-3,4- --output-d=: $srcdir/out-delim5.I > out-delim5.O 2> out-delim5.E -code=$? -if test $code != 0; then - $echo "Test out-delim5(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim5.O $srcdir/out-delim5.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim5(F)"; fi;; - 1) $echo "Test out-delim5(F) failed: files out-delim5.O and $srcdir/out-delim5.X differ" 1>&2 - (diff -c out-delim5.O $srcdir/out-delim5.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim5(F) may have failed." 1>&2 - $echo The command "cmp out-delim5.O $srcdir/out-delim5.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim5.E || rm -f out-delim5.E -cat $srcdir/out-delim5.I | $xx -c2-3,4- --output-d=: > out-delim5.O 2> out-delim5.E -code=$? -if test $code != 0; then - $echo "Test out-delim5(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim5.O $srcdir/out-delim5.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim5(|)"; fi;; - 1) $echo "Test out-delim5(|) failed: files out-delim5.O and $srcdir/out-delim5.X differ" 1>&2 - (diff -c out-delim5.O $srcdir/out-delim5.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim5(|) may have failed." 1>&2 - $echo The command "cmp out-delim5.O $srcdir/out-delim5.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim5.E || rm -f out-delim5.E -$xx -c2-3,4- --output-d=: < $srcdir/out-delim5.I > out-delim5.O 2> out-delim5.E -code=$? -if test $code != 0; then - $echo "Test out-delim5(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim5.O $srcdir/out-delim5.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim5(<)"; fi;; - 1) $echo "Test out-delim5(<) failed: files out-delim5.O and $srcdir/out-delim5.X differ" 1>&2 - (diff -c out-delim5.O $srcdir/out-delim5.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim5(<) may have failed." 1>&2 - $echo The command "cmp out-delim5.O $srcdir/out-delim5.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim5.E || rm -f out-delim5.E -$xx -c2,1-3 --output-d=: $srcdir/out-delim6.I > out-delim6.O 2> out-delim6.E -code=$? -if test $code != 0; then - $echo "Test out-delim6(F) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim6.O $srcdir/out-delim6.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim6(F)"; fi;; - 1) $echo "Test out-delim6(F) failed: files out-delim6.O and $srcdir/out-delim6.X differ" 1>&2 - (diff -c out-delim6.O $srcdir/out-delim6.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim6(F) may have failed." 1>&2 - $echo The command "cmp out-delim6.O $srcdir/out-delim6.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim6.E || rm -f out-delim6.E -cat $srcdir/out-delim6.I | $xx -c2,1-3 --output-d=: > out-delim6.O 2> out-delim6.E -code=$? -if test $code != 0; then - $echo "Test out-delim6(|) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim6.O $srcdir/out-delim6.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim6(|)"; fi;; - 1) $echo "Test out-delim6(|) failed: files out-delim6.O and $srcdir/out-delim6.X differ" 1>&2 - (diff -c out-delim6.O $srcdir/out-delim6.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim6(|) may have failed." 1>&2 - $echo The command "cmp out-delim6.O $srcdir/out-delim6.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim6.E || rm -f out-delim6.E -$xx -c2,1-3 --output-d=: < $srcdir/out-delim6.I > out-delim6.O 2> out-delim6.E -code=$? -if test $code != 0; then - $echo "Test out-delim6(<) failed: $xx return code $code differs from expected value 0" 1>&2 - errors=`expr $errors + 1` -else - cmp out-delim6.O $srcdir/out-delim6.X > /dev/null 2>&1 - case $? in - 0) if test "$VERBOSE"; then $echo "passed out-delim6(<)"; fi;; - 1) $echo "Test out-delim6(<) failed: files out-delim6.O and $srcdir/out-delim6.X differ" 1>&2 - (diff -c out-delim6.O $srcdir/out-delim6.X) 2> /dev/null - errors=`expr $errors + 1`;; - 2) $echo "Test out-delim6(<) may have failed." 1>&2 - $echo The command "cmp out-delim6.O $srcdir/out-delim6.X" failed. 1>&2 - errors=`expr $errors + 1`;; - esac -fi -test -s out-delim6.E || rm -f out-delim6.E -if test $errors = 0; then - $echo Passed all 153 tests. 1>&2 -else - $echo Failed $errors tests. 1>&2 -fi -test $errors = 0 || errors=1 -exit $errors |