summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-01-13 04:23:05 +0000
committerJim Meyering <jim@meyering.net>1997-01-13 04:23:05 +0000
commit48be557ad67bacc0f690fc23453ee3f79abde815 (patch)
tree67f977cae6e6b190a987c1a497a66099b36bbc75 /tests
parent371f45401c5af585ac4d99531d546b30187c2640 (diff)
downloadcoreutils-48be557ad67bacc0f690fc23453ee3f79abde815.tar.xz
.
Diffstat (limited to 'tests')
-rw-r--r--tests/cut/Makefile.in8
-rwxr-xr-xtests/cut/cut-tests64
2 files changed, 37 insertions, 35 deletions
diff --git a/tests/cut/Makefile.in b/tests/cut/Makefile.in
index 15fa520c5..d3ae5e34e 100644
--- a/tests/cut/Makefile.in
+++ b/tests/cut/Makefile.in
@@ -50,15 +50,17 @@ tc.in tc.exp td.in td.exp te.in te.exp tf.in tf.exp tg.in tg.exp th.in th.exp \
ti.in ti.exp tj.in tj.exp tk.in tk.exp tl.in tl.exp tm.in tm.exp tn.in tn.exp \
to.in to.exp tp.in tp.exp tq.in tq.exp tr.in tr.exp ts.in ts.exp tt.in tt.exp \
tu.in tu.exp tv.in tv.exp tw.in tw.exp tx.in tx.exp ty.in ty.exp tz.in tz.exp \
-tA.in tA.exp tB.in tB.exp tC.in tC.exp tD.in tD.exp
+tempty-fl.in tempty-fl.exp tmissing-fl.in tmissing-fl.exp tempty-bl.in \
+tempty-bl.exp tmissing-bl.in tmissing-bl.exp
run_gen = t1.out t1.err t2.out t2.err t3.out t3.err t4.out t4.err t5.out \
t5.err t6.out t6.err t7.out t7.err t8.out t8.err t9.out t9.err ta.out ta.err \
tb.out tb.err tc.out tc.err td.out td.err te.out te.err tf.out tf.err tg.out \
tg.err th.out th.err ti.out ti.err tj.out tj.err tk.out tk.err tl.out tl.err \
tm.out tm.err tn.out tn.err to.out to.err tp.out tp.err tq.out tq.err tr.out \
tr.err ts.out ts.err tt.out tt.err tu.out tu.err tv.out tv.err tw.out tw.err \
-tx.out tx.err ty.out ty.err tz.out tz.err tA.out tA.err tB.out tB.err tC.out \
-tC.err tD.out tD.err
+tx.out tx.err ty.out ty.err tz.out tz.err tempty-fl.out tempty-fl.err \
+tmissing-fl.out tmissing-fl.err tempty-bl.out tempty-bl.err tmissing-bl.out \
+tmissing-bl.err
EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen)
noinst_SCRIPTS = $x-tests
diff --git a/tests/cut/cut-tests b/tests/cut/cut-tests
index 5a4d5aade..7ce0d7045 100755
--- a/tests/cut/cut-tests
+++ b/tests/cut/cut-tests
@@ -604,74 +604,74 @@ else
esac
fi
test -s tz.err || rm -f tz.err
-$xx -f '' $srcdir/tA.in > tA.out 2> tA.err
+$xx -f '' $srcdir/tempty-fl.in > tempty-fl.out 2> tempty-fl.err
code=$?
if test $code != 1 ; then
- $echo Test A failed: ../../src/cut return code $code differs from expected value 1 1>&2
+ $echo Test empty-fl failed: ../../src/cut return code $code differs from expected value 1 1>&2
errors=`expr $errors + 1`
else
- cmp tA.out $srcdir/tA.exp
+ cmp tempty-fl.out $srcdir/tempty-fl.exp
case $? in
- 0) if test "$VERBOSE" ; then $echo passed A; fi ;; # equal files
- 1) $echo Test A failed: files tA.out and $srcdir/tA.exp differ 1>&2;
+ 0) if test "$VERBOSE" ; then $echo passed empty-fl; fi ;; # equal files
+ 1) $echo Test empty-fl failed: files tempty-fl.out and $srcdir/tempty-fl.exp differ 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo Test A may have failed. 1>&2;
- $echo The command "cmp tA.out $srcdir/tA.exp" failed. 1>&2 ;
+ 2) $echo Test empty-fl may have failed. 1>&2;
+ $echo The command "cmp tempty-fl.out $srcdir/tempty-fl.exp" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s tA.err || rm -f tA.err
-$xx -f $srcdir/tB.in > tB.out 2> tB.err
+test -s tempty-fl.err || rm -f tempty-fl.err
+$xx -f $srcdir/tmissing-fl.in > tmissing-fl.out 2> tmissing-fl.err
code=$?
if test $code != 1 ; then
- $echo Test B failed: ../../src/cut return code $code differs from expected value 1 1>&2
+ $echo Test missing-fl failed: ../../src/cut return code $code differs from expected value 1 1>&2
errors=`expr $errors + 1`
else
- cmp tB.out $srcdir/tB.exp
+ cmp tmissing-fl.out $srcdir/tmissing-fl.exp
case $? in
- 0) if test "$VERBOSE" ; then $echo passed B; fi ;; # equal files
- 1) $echo Test B failed: files tB.out and $srcdir/tB.exp differ 1>&2;
+ 0) if test "$VERBOSE" ; then $echo passed missing-fl; fi ;; # equal files
+ 1) $echo Test missing-fl failed: files tmissing-fl.out and $srcdir/tmissing-fl.exp differ 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo Test B may have failed. 1>&2;
- $echo The command "cmp tB.out $srcdir/tB.exp" failed. 1>&2 ;
+ 2) $echo Test missing-fl may have failed. 1>&2;
+ $echo The command "cmp tmissing-fl.out $srcdir/tmissing-fl.exp" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s tB.err || rm -f tB.err
-$xx -b '' $srcdir/tC.in > tC.out 2> tC.err
+test -s tmissing-fl.err || rm -f tmissing-fl.err
+$xx -b '' $srcdir/tempty-bl.in > tempty-bl.out 2> tempty-bl.err
code=$?
if test $code != 1 ; then
- $echo Test C failed: ../../src/cut return code $code differs from expected value 1 1>&2
+ $echo Test empty-bl failed: ../../src/cut return code $code differs from expected value 1 1>&2
errors=`expr $errors + 1`
else
- cmp tC.out $srcdir/tC.exp
+ cmp tempty-bl.out $srcdir/tempty-bl.exp
case $? in
- 0) if test "$VERBOSE" ; then $echo passed C; fi ;; # equal files
- 1) $echo Test C failed: files tC.out and $srcdir/tC.exp differ 1>&2;
+ 0) if test "$VERBOSE" ; then $echo passed empty-bl; fi ;; # equal files
+ 1) $echo Test empty-bl failed: files tempty-bl.out and $srcdir/tempty-bl.exp differ 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo Test C may have failed. 1>&2;
- $echo The command "cmp tC.out $srcdir/tC.exp" failed. 1>&2 ;
+ 2) $echo Test empty-bl may have failed. 1>&2;
+ $echo The command "cmp tempty-bl.out $srcdir/tempty-bl.exp" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s tC.err || rm -f tC.err
-$xx -b $srcdir/tD.in > tD.out 2> tD.err
+test -s tempty-bl.err || rm -f tempty-bl.err
+$xx -b $srcdir/tmissing-bl.in > tmissing-bl.out 2> tmissing-bl.err
code=$?
if test $code != 1 ; then
- $echo Test D failed: ../../src/cut return code $code differs from expected value 1 1>&2
+ $echo Test missing-bl failed: ../../src/cut return code $code differs from expected value 1 1>&2
errors=`expr $errors + 1`
else
- cmp tD.out $srcdir/tD.exp
+ cmp tmissing-bl.out $srcdir/tmissing-bl.exp
case $? in
- 0) if test "$VERBOSE" ; then $echo passed D; fi ;; # equal files
- 1) $echo Test D failed: files tD.out and $srcdir/tD.exp differ 1>&2;
+ 0) if test "$VERBOSE" ; then $echo passed missing-bl; fi ;; # equal files
+ 1) $echo Test missing-bl failed: files tmissing-bl.out and $srcdir/tmissing-bl.exp differ 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo Test D may have failed. 1>&2;
- $echo The command "cmp tD.out $srcdir/tD.exp" failed. 1>&2 ;
+ 2) $echo Test missing-bl may have failed. 1>&2;
+ $echo The command "cmp tmissing-bl.out $srcdir/tmissing-bl.exp" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s tD.err || rm -f tD.err
+test -s tmissing-bl.err || rm -f tmissing-bl.err
if test $errors = 0 ; then
$echo Passed all 39 tests. 1>&2
else