summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cut/Makefile.in2
-rw-r--r--tests/join/Makefile.in2
-rw-r--r--tests/md5sum/Makefile.in2
-rw-r--r--tests/pr/Makefile.in2
-rw-r--r--tests/sort/Makefile.in2
-rw-r--r--tests/tac/Makefile.in41
-rwxr-xr-xtests/tac/tac-tests588
-rw-r--r--tests/tail/Makefile.in2
-rw-r--r--tests/tr/Makefile.in2
9 files changed, 322 insertions, 321 deletions
diff --git a/tests/cut/Makefile.in b/tests/cut/Makefile.in
index bf70b2d45..9f2f95678 100644
--- a/tests/cut/Makefile.in
+++ b/tests/cut/Makefile.in
@@ -125,7 +125,7 @@ default: all
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/cut-test/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/tests/join/Makefile.in b/tests/join/Makefile.in
index 023a1d9d8..964b64b4a 100644
--- a/tests/join/Makefile.in
+++ b/tests/join/Makefile.in
@@ -127,7 +127,7 @@ default: all
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/join-test/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/tests/md5sum/Makefile.in b/tests/md5sum/Makefile.in
index bc7849eb6..6d2fdb614 100644
--- a/tests/md5sum/Makefile.in
+++ b/tests/md5sum/Makefile.in
@@ -115,7 +115,7 @@ default: all
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/md5sum-test/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/tests/pr/Makefile.in b/tests/pr/Makefile.in
index 00c7af136..a9b9dcf6b 100644
--- a/tests/pr/Makefile.in
+++ b/tests/pr/Makefile.in
@@ -167,7 +167,7 @@ default: all
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/pr-test/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/tests/sort/Makefile.in b/tests/sort/Makefile.in
index 0599bc32e..913759471 100644
--- a/tests/sort/Makefile.in
+++ b/tests/sort/Makefile.in
@@ -139,7 +139,7 @@ default: all
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/sort-test/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/tests/tac/Makefile.in b/tests/tac/Makefile.in
index 8ba9b7439..77ee98be2 100644
--- a/tests/tac/Makefile.in
+++ b/tests/tac/Makefile.in
@@ -81,16 +81,18 @@ l = @l@
x = tac
explicit =
-maint_gen = basic-0.I basic-0.X basic-a.I basic-a.X basic-b.I basic-b.X \
-basic-c.I basic-c.X basic-d.I basic-d.X basic-e.I basic-e.X basic-f.I \
-basic-f.X basic-g.I basic-g.X basic-h.I basic-h.X basic-i.I basic-i.X \
-basic-j.I basic-j.X basic-k.I basic-k.X b2-e.I b2-e.X b2-f.I b2-f.X b2-g.I \
-b2-g.X b2-h.I b2-h.X b2-i.I b2-i.X b2-j.I b2-j.X b2-k.I b2-k.X
-run_gen = basic-0.O basic-0.E basic-a.O basic-a.E basic-b.O basic-b.E \
-basic-c.O basic-c.E basic-d.O basic-d.E basic-e.O basic-e.E basic-f.O \
-basic-f.E basic-g.O basic-g.E basic-h.O basic-h.E basic-i.O basic-i.E \
-basic-j.O basic-j.E basic-k.O basic-k.E b2-e.O b2-e.E b2-f.O b2-f.E b2-g.O \
-b2-g.E b2-h.O b2-h.E b2-i.O b2-i.E b2-j.O b2-j.E b2-k.O b2-k.E
+maint_gen = basic-a.I basic-a.X basic-b.I basic-b.X basic-c.I basic-c.X \
+basic-d.I basic-d.X basic-e.I basic-e.X basic-f.I basic-f.X basic-g.I \
+basic-g.X basic-h.I basic-h.X basic-i.I basic-i.X empty.I empty.X no-nl-b.I \
+no-nl-b.X no-nl-c.I no-nl-c.X no-nl-d.I no-nl-d.X no-nl-e.I no-nl-e.X \
+no-nl-f.I no-nl-f.X no-nl-g.I no-nl-g.X no-nl-h.I no-nl-h.X no-nl-i.I \
+no-nl-i.X no-nl-j.I no-nl-j.X
+run_gen = basic-a.O basic-a.E basic-b.O basic-b.E basic-c.O basic-c.E \
+basic-d.O basic-d.E basic-e.O basic-e.E basic-f.O basic-f.E basic-g.O \
+basic-g.E basic-h.O basic-h.E basic-i.O basic-i.E empty.O empty.E no-nl-b.O \
+no-nl-b.E no-nl-c.O no-nl-c.E no-nl-d.O no-nl-d.E no-nl-e.O no-nl-e.E \
+no-nl-f.O no-nl-f.E no-nl-g.O no-nl-g.E no-nl-h.O no-nl-h.E no-nl-i.O \
+no-nl-i.E no-nl-j.O no-nl-j.E
EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen)
noinst_SCRIPTS = $x-tests
@@ -123,7 +125,7 @@ default: all
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/tac/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
@@ -230,22 +232,21 @@ $(srcdir)/$x-tests: @MAINT@mk-script Test.pm
mv $@.n $@
chmod 755 $@
-mk-script: ../../config.status
-
.pl:
rm -f $@ $@.tmp
$(editpl) $< > $@.tmp
chmod +x-w $@.tmp
mv $@.tmp $@
-@MAINT@Makefile.am: ../Makefile.am.in Test.pm mk-script
-@MAINT@ rm -f $@ $@t
-@MAINT@ sed -n '1,/^##test-files-begin/p' $< > $@t
+@MAINT@rebuild-check: Test.pm mk-script
+@MAINT@ rb=rb-check; rm -f $rb; \
+@MAINT@ m_template=../Makefile.am.in; \
+@MAINT@ sed -n '1,/^##test-files-begin/p' $$m_template > $$rb; \
@MAINT@ tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
-@MAINT@ echo "x = $$tool" >> $@t
-@MAINT@ ./mk-script --list >> $@t
-@MAINT@ sed -n '/^##test-files-end/,$$p' $< >> $@t
-@MAINT@ mv $@t $@
+@MAINT@ echo "x = $$tool" >> $$rb; \
+@MAINT@ ./mk-script --list >> $$rb; \
+@MAINT@ sed -n '/^##test-files-end/,$$p' $$m_template >> $$rb; \
+@MAINT@ diff -u Makefile.am $$rb && echo ok || echo no
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/tests/tac/tac-tests b/tests/tac/tac-tests
index b98f0f8c1..16952520c 100755
--- a/tests/tac/tac-tests
+++ b/tests/tac/tac-tests
@@ -18,64 +18,13 @@ export LC_ALL
LANG=C
export LANG
-$xx $srcdir/basic-0.I > basic-0.O 2> basic-0.E
-code=$?
-if test $code != 0 ; then
- $echo "Test basic-0(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp basic-0.O $srcdir/basic-0.X
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed basic-0(F)"; fi ;;
- 1) $echo "Test basic-0(F) failed: files basic-0.O and $srcdir/basic-0.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test basic-0(F) may have failed." 1>&2;
- $echo The command "cmp basic-0.O $srcdir/basic-0.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s basic-0.E || rm -f basic-0.E
-cat $srcdir/basic-0.I | $xx > basic-0.O 2> basic-0.E
-code=$?
-if test $code != 0 ; then
- $echo "Test basic-0(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp basic-0.O $srcdir/basic-0.X
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed basic-0(|)"; fi ;;
- 1) $echo "Test basic-0(|) failed: files basic-0.O and $srcdir/basic-0.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test basic-0(|) may have failed." 1>&2;
- $echo The command "cmp basic-0.O $srcdir/basic-0.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s basic-0.E || rm -f basic-0.E
-$xx < $srcdir/basic-0.I > basic-0.O 2> basic-0.E
-code=$?
-if test $code != 0 ; then
- $echo "Test basic-0(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
- errors=`expr $errors + 1`
-else
- cmp basic-0.O $srcdir/basic-0.X
- case $? in
- 0) if test "$VERBOSE" ; then $echo "passed basic-0(<)"; fi ;;
- 1) $echo "Test basic-0(<) failed: files basic-0.O and $srcdir/basic-0.X differ" 1>&2;
- errors=`expr $errors + 1` ;;
- 2) $echo "Test basic-0(<) may have failed." 1>&2;
- $echo The command "cmp basic-0.O $srcdir/basic-0.X" failed. 1>&2 ;
- errors=`expr $errors + 1` ;;
- esac
-fi
-test -s basic-0.E || rm -f basic-0.E
$xx $srcdir/basic-a.I > basic-a.O 2> basic-a.E
code=$?
if test $code != 0 ; then
$echo "Test basic-a(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-a.O $srcdir/basic-a.X
+ cmp basic-a.O $srcdir/basic-a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-a(F)"; fi ;;
1) $echo "Test basic-a(F) failed: files basic-a.O and $srcdir/basic-a.X differ" 1>&2;
@@ -92,7 +41,7 @@ if test $code != 0 ; then
$echo "Test basic-a(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-a.O $srcdir/basic-a.X
+ cmp basic-a.O $srcdir/basic-a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-a(|)"; fi ;;
1) $echo "Test basic-a(|) failed: files basic-a.O and $srcdir/basic-a.X differ" 1>&2;
@@ -109,7 +58,7 @@ if test $code != 0 ; then
$echo "Test basic-a(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-a.O $srcdir/basic-a.X
+ cmp basic-a.O $srcdir/basic-a.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-a(<)"; fi ;;
1) $echo "Test basic-a(<) failed: files basic-a.O and $srcdir/basic-a.X differ" 1>&2;
@@ -126,7 +75,7 @@ if test $code != 0 ; then
$echo "Test basic-b(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-b.O $srcdir/basic-b.X
+ cmp basic-b.O $srcdir/basic-b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-b(F)"; fi ;;
1) $echo "Test basic-b(F) failed: files basic-b.O and $srcdir/basic-b.X differ" 1>&2;
@@ -143,7 +92,7 @@ if test $code != 0 ; then
$echo "Test basic-b(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-b.O $srcdir/basic-b.X
+ cmp basic-b.O $srcdir/basic-b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-b(|)"; fi ;;
1) $echo "Test basic-b(|) failed: files basic-b.O and $srcdir/basic-b.X differ" 1>&2;
@@ -160,7 +109,7 @@ if test $code != 0 ; then
$echo "Test basic-b(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-b.O $srcdir/basic-b.X
+ cmp basic-b.O $srcdir/basic-b.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-b(<)"; fi ;;
1) $echo "Test basic-b(<) failed: files basic-b.O and $srcdir/basic-b.X differ" 1>&2;
@@ -177,7 +126,7 @@ if test $code != 0 ; then
$echo "Test basic-c(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-c.O $srcdir/basic-c.X
+ cmp basic-c.O $srcdir/basic-c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-c(F)"; fi ;;
1) $echo "Test basic-c(F) failed: files basic-c.O and $srcdir/basic-c.X differ" 1>&2;
@@ -194,7 +143,7 @@ if test $code != 0 ; then
$echo "Test basic-c(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-c.O $srcdir/basic-c.X
+ cmp basic-c.O $srcdir/basic-c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-c(|)"; fi ;;
1) $echo "Test basic-c(|) failed: files basic-c.O and $srcdir/basic-c.X differ" 1>&2;
@@ -211,7 +160,7 @@ if test $code != 0 ; then
$echo "Test basic-c(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-c.O $srcdir/basic-c.X
+ cmp basic-c.O $srcdir/basic-c.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-c(<)"; fi ;;
1) $echo "Test basic-c(<) failed: files basic-c.O and $srcdir/basic-c.X differ" 1>&2;
@@ -228,7 +177,7 @@ if test $code != 0 ; then
$echo "Test basic-d(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-d.O $srcdir/basic-d.X
+ cmp basic-d.O $srcdir/basic-d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-d(F)"; fi ;;
1) $echo "Test basic-d(F) failed: files basic-d.O and $srcdir/basic-d.X differ" 1>&2;
@@ -245,7 +194,7 @@ if test $code != 0 ; then
$echo "Test basic-d(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-d.O $srcdir/basic-d.X
+ cmp basic-d.O $srcdir/basic-d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-d(|)"; fi ;;
1) $echo "Test basic-d(|) failed: files basic-d.O and $srcdir/basic-d.X differ" 1>&2;
@@ -262,7 +211,7 @@ if test $code != 0 ; then
$echo "Test basic-d(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-d.O $srcdir/basic-d.X
+ cmp basic-d.O $srcdir/basic-d.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-d(<)"; fi ;;
1) $echo "Test basic-d(<) failed: files basic-d.O and $srcdir/basic-d.X differ" 1>&2;
@@ -279,7 +228,7 @@ if test $code != 0 ; then
$echo "Test basic-e(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-e.O $srcdir/basic-e.X
+ cmp basic-e.O $srcdir/basic-e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-e(F)"; fi ;;
1) $echo "Test basic-e(F) failed: files basic-e.O and $srcdir/basic-e.X differ" 1>&2;
@@ -296,7 +245,7 @@ if test $code != 0 ; then
$echo "Test basic-e(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-e.O $srcdir/basic-e.X
+ cmp basic-e.O $srcdir/basic-e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-e(|)"; fi ;;
1) $echo "Test basic-e(|) failed: files basic-e.O and $srcdir/basic-e.X differ" 1>&2;
@@ -313,7 +262,7 @@ if test $code != 0 ; then
$echo "Test basic-e(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-e.O $srcdir/basic-e.X
+ cmp basic-e.O $srcdir/basic-e.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-e(<)"; fi ;;
1) $echo "Test basic-e(<) failed: files basic-e.O and $srcdir/basic-e.X differ" 1>&2;
@@ -330,7 +279,7 @@ if test $code != 0 ; then
$echo "Test basic-f(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-f.O $srcdir/basic-f.X
+ cmp basic-f.O $srcdir/basic-f.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-f(F)"; fi ;;
1) $echo "Test basic-f(F) failed: files basic-f.O and $srcdir/basic-f.X differ" 1>&2;
@@ -347,7 +296,7 @@ if test $code != 0 ; then
$echo "Test basic-f(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-f.O $srcdir/basic-f.X
+ cmp basic-f.O $srcdir/basic-f.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-f(|)"; fi ;;
1) $echo "Test basic-f(|) failed: files basic-f.O and $srcdir/basic-f.X differ" 1>&2;
@@ -364,7 +313,7 @@ if test $code != 0 ; then
$echo "Test basic-f(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-f.O $srcdir/basic-f.X
+ cmp basic-f.O $srcdir/basic-f.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-f(<)"; fi ;;
1) $echo "Test basic-f(<) failed: files basic-f.O and $srcdir/basic-f.X differ" 1>&2;
@@ -381,7 +330,7 @@ if test $code != 0 ; then
$echo "Test basic-g(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-g.O $srcdir/basic-g.X
+ cmp basic-g.O $srcdir/basic-g.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-g(F)"; fi ;;
1) $echo "Test basic-g(F) failed: files basic-g.O and $srcdir/basic-g.X differ" 1>&2;
@@ -398,7 +347,7 @@ if test $code != 0 ; then
$echo "Test basic-g(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-g.O $srcdir/basic-g.X
+ cmp basic-g.O $srcdir/basic-g.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-g(|)"; fi ;;
1) $echo "Test basic-g(|) failed: files basic-g.O and $srcdir/basic-g.X differ" 1>&2;
@@ -415,7 +364,7 @@ if test $code != 0 ; then
$echo "Test basic-g(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-g.O $srcdir/basic-g.X
+ cmp basic-g.O $srcdir/basic-g.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-g(<)"; fi ;;
1) $echo "Test basic-g(<) failed: files basic-g.O and $srcdir/basic-g.X differ" 1>&2;
@@ -432,7 +381,7 @@ if test $code != 0 ; then
$echo "Test basic-h(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-h.O $srcdir/basic-h.X
+ cmp basic-h.O $srcdir/basic-h.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-h(F)"; fi ;;
1) $echo "Test basic-h(F) failed: files basic-h.O and $srcdir/basic-h.X differ" 1>&2;
@@ -449,7 +398,7 @@ if test $code != 0 ; then
$echo "Test basic-h(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-h.O $srcdir/basic-h.X
+ cmp basic-h.O $srcdir/basic-h.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-h(|)"; fi ;;
1) $echo "Test basic-h(|) failed: files basic-h.O and $srcdir/basic-h.X differ" 1>&2;
@@ -466,7 +415,7 @@ if test $code != 0 ; then
$echo "Test basic-h(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-h.O $srcdir/basic-h.X
+ cmp basic-h.O $srcdir/basic-h.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-h(<)"; fi ;;
1) $echo "Test basic-h(<) failed: files basic-h.O and $srcdir/basic-h.X differ" 1>&2;
@@ -483,7 +432,7 @@ if test $code != 0 ; then
$echo "Test basic-i(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-i.O $srcdir/basic-i.X
+ cmp basic-i.O $srcdir/basic-i.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-i(F)"; fi ;;
1) $echo "Test basic-i(F) failed: files basic-i.O and $srcdir/basic-i.X differ" 1>&2;
@@ -500,7 +449,7 @@ if test $code != 0 ; then
$echo "Test basic-i(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-i.O $srcdir/basic-i.X
+ cmp basic-i.O $srcdir/basic-i.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-i(|)"; fi ;;
1) $echo "Test basic-i(|) failed: files basic-i.O and $srcdir/basic-i.X differ" 1>&2;
@@ -517,7 +466,7 @@ if test $code != 0 ; then
$echo "Test basic-i(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-i.O $srcdir/basic-i.X
+ cmp basic-i.O $srcdir/basic-i.X > /dev/null 2>&1
case $? in
0) if test "$VERBOSE" ; then $echo "passed basic-i(<)"; fi ;;
1) $echo "Test basic-i(<) failed: files basic-i.O and $srcdir/basic-i.X differ" 1>&2;
@@ -528,465 +477,516 @@ else
esac
fi
test -s basic-i.E || rm -f basic-i.E
-$xx $srcdir/basic-j.I > basic-j.O 2> basic-j.E
+$xx $srcdir/empty.I > empty.O 2> empty.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test empty(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp empty.O $srcdir/empty.X > /dev/null 2>&1
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed empty(F)"; fi ;;
+ 1) $echo "Test empty(F) failed: files empty.O and $srcdir/empty.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test empty(F) may have failed." 1>&2;
+ $echo The command "cmp empty.O $srcdir/empty.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s empty.E || rm -f empty.E
+cat $srcdir/empty.I | $xx > empty.O 2> empty.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test empty(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp empty.O $srcdir/empty.X > /dev/null 2>&1
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed empty(|)"; fi ;;
+ 1) $echo "Test empty(|) failed: files empty.O and $srcdir/empty.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test empty(|) may have failed." 1>&2;
+ $echo The command "cmp empty.O $srcdir/empty.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s empty.E || rm -f empty.E
+$xx < $srcdir/empty.I > empty.O 2> empty.E
+code=$?
+if test $code != 0 ; then
+ $echo "Test empty(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ errors=`expr $errors + 1`
+else
+ cmp empty.O $srcdir/empty.X > /dev/null 2>&1
+ case $? in
+ 0) if test "$VERBOSE" ; then $echo "passed empty(<)"; fi ;;
+ 1) $echo "Test empty(<) failed: files empty.O and $srcdir/empty.X differ" 1>&2;
+ errors=`expr $errors + 1` ;;
+ 2) $echo "Test empty(<) may have failed." 1>&2;
+ $echo The command "cmp empty.O $srcdir/empty.X" failed. 1>&2 ;
+ errors=`expr $errors + 1` ;;
+ esac
+fi
+test -s empty.E || rm -f empty.E
+$xx $srcdir/no-nl-b.I > no-nl-b.O 2> no-nl-b.E
code=$?
if test $code != 0 ; then
- $echo "Test basic-j(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-b(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-j.O $srcdir/basic-j.X
+ cmp no-nl-b.O $srcdir/no-nl-b.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed basic-j(F)"; fi ;;
- 1) $echo "Test basic-j(F) failed: files basic-j.O and $srcdir/basic-j.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-b(F)"; fi ;;
+ 1) $echo "Test no-nl-b(F) failed: files no-nl-b.O and $srcdir/no-nl-b.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test basic-j(F) may have failed." 1>&2;
- $echo The command "cmp basic-j.O $srcdir/basic-j.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-b(F) may have failed." 1>&2;
+ $echo The command "cmp no-nl-b.O $srcdir/no-nl-b.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s basic-j.E || rm -f basic-j.E
-cat $srcdir/basic-j.I | $xx > basic-j.O 2> basic-j.E
+test -s no-nl-b.E || rm -f no-nl-b.E
+cat $srcdir/no-nl-b.I | $xx > no-nl-b.O 2> no-nl-b.E
code=$?
if test $code != 0 ; then
- $echo "Test basic-j(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-b(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-j.O $srcdir/basic-j.X
+ cmp no-nl-b.O $srcdir/no-nl-b.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed basic-j(|)"; fi ;;
- 1) $echo "Test basic-j(|) failed: files basic-j.O and $srcdir/basic-j.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-b(|)"; fi ;;
+ 1) $echo "Test no-nl-b(|) failed: files no-nl-b.O and $srcdir/no-nl-b.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test basic-j(|) may have failed." 1>&2;
- $echo The command "cmp basic-j.O $srcdir/basic-j.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-b(|) may have failed." 1>&2;
+ $echo The command "cmp no-nl-b.O $srcdir/no-nl-b.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s basic-j.E || rm -f basic-j.E
-$xx < $srcdir/basic-j.I > basic-j.O 2> basic-j.E
+test -s no-nl-b.E || rm -f no-nl-b.E
+$xx < $srcdir/no-nl-b.I > no-nl-b.O 2> no-nl-b.E
code=$?
if test $code != 0 ; then
- $echo "Test basic-j(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-b(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-j.O $srcdir/basic-j.X
+ cmp no-nl-b.O $srcdir/no-nl-b.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed basic-j(<)"; fi ;;
- 1) $echo "Test basic-j(<) failed: files basic-j.O and $srcdir/basic-j.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-b(<)"; fi ;;
+ 1) $echo "Test no-nl-b(<) failed: files no-nl-b.O and $srcdir/no-nl-b.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test basic-j(<) may have failed." 1>&2;
- $echo The command "cmp basic-j.O $srcdir/basic-j.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-b(<) may have failed." 1>&2;
+ $echo The command "cmp no-nl-b.O $srcdir/no-nl-b.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s basic-j.E || rm -f basic-j.E
-$xx $srcdir/basic-k.I > basic-k.O 2> basic-k.E
+test -s no-nl-b.E || rm -f no-nl-b.E
+$xx $srcdir/no-nl-c.I > no-nl-c.O 2> no-nl-c.E
code=$?
if test $code != 0 ; then
- $echo "Test basic-k(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-c(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-k.O $srcdir/basic-k.X
+ cmp no-nl-c.O $srcdir/no-nl-c.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed basic-k(F)"; fi ;;
- 1) $echo "Test basic-k(F) failed: files basic-k.O and $srcdir/basic-k.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-c(F)"; fi ;;
+ 1) $echo "Test no-nl-c(F) failed: files no-nl-c.O and $srcdir/no-nl-c.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test basic-k(F) may have failed." 1>&2;
- $echo The command "cmp basic-k.O $srcdir/basic-k.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-c(F) may have failed." 1>&2;
+ $echo The command "cmp no-nl-c.O $srcdir/no-nl-c.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s basic-k.E || rm -f basic-k.E
-cat $srcdir/basic-k.I | $xx > basic-k.O 2> basic-k.E
+test -s no-nl-c.E || rm -f no-nl-c.E
+cat $srcdir/no-nl-c.I | $xx > no-nl-c.O 2> no-nl-c.E
code=$?
if test $code != 0 ; then
- $echo "Test basic-k(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-c(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-k.O $srcdir/basic-k.X
+ cmp no-nl-c.O $srcdir/no-nl-c.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed basic-k(|)"; fi ;;
- 1) $echo "Test basic-k(|) failed: files basic-k.O and $srcdir/basic-k.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-c(|)"; fi ;;
+ 1) $echo "Test no-nl-c(|) failed: files no-nl-c.O and $srcdir/no-nl-c.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test basic-k(|) may have failed." 1>&2;
- $echo The command "cmp basic-k.O $srcdir/basic-k.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-c(|) may have failed." 1>&2;
+ $echo The command "cmp no-nl-c.O $srcdir/no-nl-c.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s basic-k.E || rm -f basic-k.E
-$xx < $srcdir/basic-k.I > basic-k.O 2> basic-k.E
+test -s no-nl-c.E || rm -f no-nl-c.E
+$xx < $srcdir/no-nl-c.I > no-nl-c.O 2> no-nl-c.E
code=$?
if test $code != 0 ; then
- $echo "Test basic-k(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-c(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp basic-k.O $srcdir/basic-k.X
+ cmp no-nl-c.O $srcdir/no-nl-c.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed basic-k(<)"; fi ;;
- 1) $echo "Test basic-k(<) failed: files basic-k.O and $srcdir/basic-k.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-c(<)"; fi ;;
+ 1) $echo "Test no-nl-c(<) failed: files no-nl-c.O and $srcdir/no-nl-c.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test basic-k(<) may have failed." 1>&2;
- $echo The command "cmp basic-k.O $srcdir/basic-k.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-c(<) may have failed." 1>&2;
+ $echo The command "cmp no-nl-c.O $srcdir/no-nl-c.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s basic-k.E || rm -f basic-k.E
-$xx $srcdir/b2-e.I > b2-e.O 2> b2-e.E
+test -s no-nl-c.E || rm -f no-nl-c.E
+$xx $srcdir/no-nl-d.I > no-nl-d.O 2> no-nl-d.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-e(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-d(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-e.O $srcdir/b2-e.X
+ cmp no-nl-d.O $srcdir/no-nl-d.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-e(F)"; fi ;;
- 1) $echo "Test b2-e(F) failed: files b2-e.O and $srcdir/b2-e.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-d(F)"; fi ;;
+ 1) $echo "Test no-nl-d(F) failed: files no-nl-d.O and $srcdir/no-nl-d.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-e(F) may have failed." 1>&2;
- $echo The command "cmp b2-e.O $srcdir/b2-e.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-d(F) may have failed." 1>&2;
+ $echo The command "cmp no-nl-d.O $srcdir/no-nl-d.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-e.E || rm -f b2-e.E
-cat $srcdir/b2-e.I | $xx > b2-e.O 2> b2-e.E
+test -s no-nl-d.E || rm -f no-nl-d.E
+cat $srcdir/no-nl-d.I | $xx > no-nl-d.O 2> no-nl-d.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-e(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-d(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-e.O $srcdir/b2-e.X
+ cmp no-nl-d.O $srcdir/no-nl-d.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-e(|)"; fi ;;
- 1) $echo "Test b2-e(|) failed: files b2-e.O and $srcdir/b2-e.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-d(|)"; fi ;;
+ 1) $echo "Test no-nl-d(|) failed: files no-nl-d.O and $srcdir/no-nl-d.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-e(|) may have failed." 1>&2;
- $echo The command "cmp b2-e.O $srcdir/b2-e.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-d(|) may have failed." 1>&2;
+ $echo The command "cmp no-nl-d.O $srcdir/no-nl-d.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-e.E || rm -f b2-e.E
-$xx < $srcdir/b2-e.I > b2-e.O 2> b2-e.E
+test -s no-nl-d.E || rm -f no-nl-d.E
+$xx < $srcdir/no-nl-d.I > no-nl-d.O 2> no-nl-d.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-e(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-d(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-e.O $srcdir/b2-e.X
+ cmp no-nl-d.O $srcdir/no-nl-d.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-e(<)"; fi ;;
- 1) $echo "Test b2-e(<) failed: files b2-e.O and $srcdir/b2-e.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-d(<)"; fi ;;
+ 1) $echo "Test no-nl-d(<) failed: files no-nl-d.O and $srcdir/no-nl-d.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-e(<) may have failed." 1>&2;
- $echo The command "cmp b2-e.O $srcdir/b2-e.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-d(<) may have failed." 1>&2;
+ $echo The command "cmp no-nl-d.O $srcdir/no-nl-d.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-e.E || rm -f b2-e.E
-$xx $srcdir/b2-f.I > b2-f.O 2> b2-f.E
+test -s no-nl-d.E || rm -f no-nl-d.E
+$xx $srcdir/no-nl-e.I > no-nl-e.O 2> no-nl-e.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-f(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-e(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-f.O $srcdir/b2-f.X
+ cmp no-nl-e.O $srcdir/no-nl-e.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-f(F)"; fi ;;
- 1) $echo "Test b2-f(F) failed: files b2-f.O and $srcdir/b2-f.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-e(F)"; fi ;;
+ 1) $echo "Test no-nl-e(F) failed: files no-nl-e.O and $srcdir/no-nl-e.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-f(F) may have failed." 1>&2;
- $echo The command "cmp b2-f.O $srcdir/b2-f.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-e(F) may have failed." 1>&2;
+ $echo The command "cmp no-nl-e.O $srcdir/no-nl-e.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-f.E || rm -f b2-f.E
-cat $srcdir/b2-f.I | $xx > b2-f.O 2> b2-f.E
+test -s no-nl-e.E || rm -f no-nl-e.E
+cat $srcdir/no-nl-e.I | $xx > no-nl-e.O 2> no-nl-e.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-f(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-e(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-f.O $srcdir/b2-f.X
+ cmp no-nl-e.O $srcdir/no-nl-e.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-f(|)"; fi ;;
- 1) $echo "Test b2-f(|) failed: files b2-f.O and $srcdir/b2-f.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-e(|)"; fi ;;
+ 1) $echo "Test no-nl-e(|) failed: files no-nl-e.O and $srcdir/no-nl-e.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-f(|) may have failed." 1>&2;
- $echo The command "cmp b2-f.O $srcdir/b2-f.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-e(|) may have failed." 1>&2;
+ $echo The command "cmp no-nl-e.O $srcdir/no-nl-e.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-f.E || rm -f b2-f.E
-$xx < $srcdir/b2-f.I > b2-f.O 2> b2-f.E
+test -s no-nl-e.E || rm -f no-nl-e.E
+$xx < $srcdir/no-nl-e.I > no-nl-e.O 2> no-nl-e.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-f(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-e(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-f.O $srcdir/b2-f.X
+ cmp no-nl-e.O $srcdir/no-nl-e.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-f(<)"; fi ;;
- 1) $echo "Test b2-f(<) failed: files b2-f.O and $srcdir/b2-f.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-e(<)"; fi ;;
+ 1) $echo "Test no-nl-e(<) failed: files no-nl-e.O and $srcdir/no-nl-e.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-f(<) may have failed." 1>&2;
- $echo The command "cmp b2-f.O $srcdir/b2-f.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-e(<) may have failed." 1>&2;
+ $echo The command "cmp no-nl-e.O $srcdir/no-nl-e.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-f.E || rm -f b2-f.E
-$xx $srcdir/b2-g.I > b2-g.O 2> b2-g.E
+test -s no-nl-e.E || rm -f no-nl-e.E
+$xx $srcdir/no-nl-f.I > no-nl-f.O 2> no-nl-f.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-g(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-f(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-g.O $srcdir/b2-g.X
+ cmp no-nl-f.O $srcdir/no-nl-f.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-g(F)"; fi ;;
- 1) $echo "Test b2-g(F) failed: files b2-g.O and $srcdir/b2-g.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-f(F)"; fi ;;
+ 1) $echo "Test no-nl-f(F) failed: files no-nl-f.O and $srcdir/no-nl-f.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-g(F) may have failed." 1>&2;
- $echo The command "cmp b2-g.O $srcdir/b2-g.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-f(F) may have failed." 1>&2;
+ $echo The command "cmp no-nl-f.O $srcdir/no-nl-f.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-g.E || rm -f b2-g.E
-cat $srcdir/b2-g.I | $xx > b2-g.O 2> b2-g.E
+test -s no-nl-f.E || rm -f no-nl-f.E
+cat $srcdir/no-nl-f.I | $xx > no-nl-f.O 2> no-nl-f.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-g(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-f(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-g.O $srcdir/b2-g.X
+ cmp no-nl-f.O $srcdir/no-nl-f.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-g(|)"; fi ;;
- 1) $echo "Test b2-g(|) failed: files b2-g.O and $srcdir/b2-g.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-f(|)"; fi ;;
+ 1) $echo "Test no-nl-f(|) failed: files no-nl-f.O and $srcdir/no-nl-f.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-g(|) may have failed." 1>&2;
- $echo The command "cmp b2-g.O $srcdir/b2-g.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-f(|) may have failed." 1>&2;
+ $echo The command "cmp no-nl-f.O $srcdir/no-nl-f.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-g.E || rm -f b2-g.E
-$xx < $srcdir/b2-g.I > b2-g.O 2> b2-g.E
+test -s no-nl-f.E || rm -f no-nl-f.E
+$xx < $srcdir/no-nl-f.I > no-nl-f.O 2> no-nl-f.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-g(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-f(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-g.O $srcdir/b2-g.X
+ cmp no-nl-f.O $srcdir/no-nl-f.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-g(<)"; fi ;;
- 1) $echo "Test b2-g(<) failed: files b2-g.O and $srcdir/b2-g.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-f(<)"; fi ;;
+ 1) $echo "Test no-nl-f(<) failed: files no-nl-f.O and $srcdir/no-nl-f.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-g(<) may have failed." 1>&2;
- $echo The command "cmp b2-g.O $srcdir/b2-g.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-f(<) may have failed." 1>&2;
+ $echo The command "cmp no-nl-f.O $srcdir/no-nl-f.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-g.E || rm -f b2-g.E
-$xx $srcdir/b2-h.I > b2-h.O 2> b2-h.E
+test -s no-nl-f.E || rm -f no-nl-f.E
+$xx $srcdir/no-nl-g.I > no-nl-g.O 2> no-nl-g.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-h(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-g(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-h.O $srcdir/b2-h.X
+ cmp no-nl-g.O $srcdir/no-nl-g.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-h(F)"; fi ;;
- 1) $echo "Test b2-h(F) failed: files b2-h.O and $srcdir/b2-h.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-g(F)"; fi ;;
+ 1) $echo "Test no-nl-g(F) failed: files no-nl-g.O and $srcdir/no-nl-g.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-h(F) may have failed." 1>&2;
- $echo The command "cmp b2-h.O $srcdir/b2-h.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-g(F) may have failed." 1>&2;
+ $echo The command "cmp no-nl-g.O $srcdir/no-nl-g.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-h.E || rm -f b2-h.E
-cat $srcdir/b2-h.I | $xx > b2-h.O 2> b2-h.E
+test -s no-nl-g.E || rm -f no-nl-g.E
+cat $srcdir/no-nl-g.I | $xx > no-nl-g.O 2> no-nl-g.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-h(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-g(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-h.O $srcdir/b2-h.X
+ cmp no-nl-g.O $srcdir/no-nl-g.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-h(|)"; fi ;;
- 1) $echo "Test b2-h(|) failed: files b2-h.O and $srcdir/b2-h.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-g(|)"; fi ;;
+ 1) $echo "Test no-nl-g(|) failed: files no-nl-g.O and $srcdir/no-nl-g.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-h(|) may have failed." 1>&2;
- $echo The command "cmp b2-h.O $srcdir/b2-h.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-g(|) may have failed." 1>&2;
+ $echo The command "cmp no-nl-g.O $srcdir/no-nl-g.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-h.E || rm -f b2-h.E
-$xx < $srcdir/b2-h.I > b2-h.O 2> b2-h.E
+test -s no-nl-g.E || rm -f no-nl-g.E
+$xx < $srcdir/no-nl-g.I > no-nl-g.O 2> no-nl-g.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-h(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-g(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-h.O $srcdir/b2-h.X
+ cmp no-nl-g.O $srcdir/no-nl-g.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-h(<)"; fi ;;
- 1) $echo "Test b2-h(<) failed: files b2-h.O and $srcdir/b2-h.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-g(<)"; fi ;;
+ 1) $echo "Test no-nl-g(<) failed: files no-nl-g.O and $srcdir/no-nl-g.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-h(<) may have failed." 1>&2;
- $echo The command "cmp b2-h.O $srcdir/b2-h.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-g(<) may have failed." 1>&2;
+ $echo The command "cmp no-nl-g.O $srcdir/no-nl-g.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-h.E || rm -f b2-h.E
-$xx $srcdir/b2-i.I > b2-i.O 2> b2-i.E
+test -s no-nl-g.E || rm -f no-nl-g.E
+$xx $srcdir/no-nl-h.I > no-nl-h.O 2> no-nl-h.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-i(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-h(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-i.O $srcdir/b2-i.X
+ cmp no-nl-h.O $srcdir/no-nl-h.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-i(F)"; fi ;;
- 1) $echo "Test b2-i(F) failed: files b2-i.O and $srcdir/b2-i.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-h(F)"; fi ;;
+ 1) $echo "Test no-nl-h(F) failed: files no-nl-h.O and $srcdir/no-nl-h.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-i(F) may have failed." 1>&2;
- $echo The command "cmp b2-i.O $srcdir/b2-i.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-h(F) may have failed." 1>&2;
+ $echo The command "cmp no-nl-h.O $srcdir/no-nl-h.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-i.E || rm -f b2-i.E
-cat $srcdir/b2-i.I | $xx > b2-i.O 2> b2-i.E
+test -s no-nl-h.E || rm -f no-nl-h.E
+cat $srcdir/no-nl-h.I | $xx > no-nl-h.O 2> no-nl-h.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-i(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-h(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-i.O $srcdir/b2-i.X
+ cmp no-nl-h.O $srcdir/no-nl-h.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-i(|)"; fi ;;
- 1) $echo "Test b2-i(|) failed: files b2-i.O and $srcdir/b2-i.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-h(|)"; fi ;;
+ 1) $echo "Test no-nl-h(|) failed: files no-nl-h.O and $srcdir/no-nl-h.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-i(|) may have failed." 1>&2;
- $echo The command "cmp b2-i.O $srcdir/b2-i.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-h(|) may have failed." 1>&2;
+ $echo The command "cmp no-nl-h.O $srcdir/no-nl-h.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-i.E || rm -f b2-i.E
-$xx < $srcdir/b2-i.I > b2-i.O 2> b2-i.E
+test -s no-nl-h.E || rm -f no-nl-h.E
+$xx < $srcdir/no-nl-h.I > no-nl-h.O 2> no-nl-h.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-i(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-h(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-i.O $srcdir/b2-i.X
+ cmp no-nl-h.O $srcdir/no-nl-h.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-i(<)"; fi ;;
- 1) $echo "Test b2-i(<) failed: files b2-i.O and $srcdir/b2-i.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-h(<)"; fi ;;
+ 1) $echo "Test no-nl-h(<) failed: files no-nl-h.O and $srcdir/no-nl-h.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-i(<) may have failed." 1>&2;
- $echo The command "cmp b2-i.O $srcdir/b2-i.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-h(<) may have failed." 1>&2;
+ $echo The command "cmp no-nl-h.O $srcdir/no-nl-h.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-i.E || rm -f b2-i.E
-$xx $srcdir/b2-j.I > b2-j.O 2> b2-j.E
+test -s no-nl-h.E || rm -f no-nl-h.E
+$xx $srcdir/no-nl-i.I > no-nl-i.O 2> no-nl-i.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-j(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-i(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-j.O $srcdir/b2-j.X
+ cmp no-nl-i.O $srcdir/no-nl-i.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-j(F)"; fi ;;
- 1) $echo "Test b2-j(F) failed: files b2-j.O and $srcdir/b2-j.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-i(F)"; fi ;;
+ 1) $echo "Test no-nl-i(F) failed: files no-nl-i.O and $srcdir/no-nl-i.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-j(F) may have failed." 1>&2;
- $echo The command "cmp b2-j.O $srcdir/b2-j.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-i(F) may have failed." 1>&2;
+ $echo The command "cmp no-nl-i.O $srcdir/no-nl-i.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-j.E || rm -f b2-j.E
-cat $srcdir/b2-j.I | $xx > b2-j.O 2> b2-j.E
+test -s no-nl-i.E || rm -f no-nl-i.E
+cat $srcdir/no-nl-i.I | $xx > no-nl-i.O 2> no-nl-i.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-j(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-i(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-j.O $srcdir/b2-j.X
+ cmp no-nl-i.O $srcdir/no-nl-i.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-j(|)"; fi ;;
- 1) $echo "Test b2-j(|) failed: files b2-j.O and $srcdir/b2-j.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-i(|)"; fi ;;
+ 1) $echo "Test no-nl-i(|) failed: files no-nl-i.O and $srcdir/no-nl-i.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-j(|) may have failed." 1>&2;
- $echo The command "cmp b2-j.O $srcdir/b2-j.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-i(|) may have failed." 1>&2;
+ $echo The command "cmp no-nl-i.O $srcdir/no-nl-i.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-j.E || rm -f b2-j.E
-$xx < $srcdir/b2-j.I > b2-j.O 2> b2-j.E
+test -s no-nl-i.E || rm -f no-nl-i.E
+$xx < $srcdir/no-nl-i.I > no-nl-i.O 2> no-nl-i.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-j(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-i(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-j.O $srcdir/b2-j.X
+ cmp no-nl-i.O $srcdir/no-nl-i.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-j(<)"; fi ;;
- 1) $echo "Test b2-j(<) failed: files b2-j.O and $srcdir/b2-j.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-i(<)"; fi ;;
+ 1) $echo "Test no-nl-i(<) failed: files no-nl-i.O and $srcdir/no-nl-i.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-j(<) may have failed." 1>&2;
- $echo The command "cmp b2-j.O $srcdir/b2-j.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-i(<) may have failed." 1>&2;
+ $echo The command "cmp no-nl-i.O $srcdir/no-nl-i.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-j.E || rm -f b2-j.E
-$xx $srcdir/b2-k.I > b2-k.O 2> b2-k.E
+test -s no-nl-i.E || rm -f no-nl-i.E
+$xx $srcdir/no-nl-j.I > no-nl-j.O 2> no-nl-j.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-k(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-j(F) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-k.O $srcdir/b2-k.X
+ cmp no-nl-j.O $srcdir/no-nl-j.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-k(F)"; fi ;;
- 1) $echo "Test b2-k(F) failed: files b2-k.O and $srcdir/b2-k.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-j(F)"; fi ;;
+ 1) $echo "Test no-nl-j(F) failed: files no-nl-j.O and $srcdir/no-nl-j.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-k(F) may have failed." 1>&2;
- $echo The command "cmp b2-k.O $srcdir/b2-k.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-j(F) may have failed." 1>&2;
+ $echo The command "cmp no-nl-j.O $srcdir/no-nl-j.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-k.E || rm -f b2-k.E
-cat $srcdir/b2-k.I | $xx > b2-k.O 2> b2-k.E
+test -s no-nl-j.E || rm -f no-nl-j.E
+cat $srcdir/no-nl-j.I | $xx > no-nl-j.O 2> no-nl-j.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-k(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-j(|) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-k.O $srcdir/b2-k.X
+ cmp no-nl-j.O $srcdir/no-nl-j.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-k(|)"; fi ;;
- 1) $echo "Test b2-k(|) failed: files b2-k.O and $srcdir/b2-k.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-j(|)"; fi ;;
+ 1) $echo "Test no-nl-j(|) failed: files no-nl-j.O and $srcdir/no-nl-j.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-k(|) may have failed." 1>&2;
- $echo The command "cmp b2-k.O $srcdir/b2-k.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-j(|) may have failed." 1>&2;
+ $echo The command "cmp no-nl-j.O $srcdir/no-nl-j.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-k.E || rm -f b2-k.E
-$xx < $srcdir/b2-k.I > b2-k.O 2> b2-k.E
+test -s no-nl-j.E || rm -f no-nl-j.E
+$xx < $srcdir/no-nl-j.I > no-nl-j.O 2> no-nl-j.E
code=$?
if test $code != 0 ; then
- $echo "Test b2-k(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
+ $echo "Test no-nl-j(<) failed: ../../src/tac return code $code differs from expected value 0" 1>&2
errors=`expr $errors + 1`
else
- cmp b2-k.O $srcdir/b2-k.X
+ cmp no-nl-j.O $srcdir/no-nl-j.X > /dev/null 2>&1
case $? in
- 0) if test "$VERBOSE" ; then $echo "passed b2-k(<)"; fi ;;
- 1) $echo "Test b2-k(<) failed: files b2-k.O and $srcdir/b2-k.X differ" 1>&2;
+ 0) if test "$VERBOSE" ; then $echo "passed no-nl-j(<)"; fi ;;
+ 1) $echo "Test no-nl-j(<) failed: files no-nl-j.O and $srcdir/no-nl-j.X differ" 1>&2;
errors=`expr $errors + 1` ;;
- 2) $echo "Test b2-k(<) may have failed." 1>&2;
- $echo The command "cmp b2-k.O $srcdir/b2-k.X" failed. 1>&2 ;
+ 2) $echo "Test no-nl-j(<) may have failed." 1>&2;
+ $echo The command "cmp no-nl-j.O $srcdir/no-nl-j.X" failed. 1>&2 ;
errors=`expr $errors + 1` ;;
esac
fi
-test -s b2-k.E || rm -f b2-k.E
+test -s no-nl-j.E || rm -f no-nl-j.E
if test $errors = 0 ; then
$echo Passed all 57 tests. 1>&2
else
diff --git a/tests/tail/Makefile.in b/tests/tail/Makefile.in
index dd45dd398..817ef273d 100644
--- a/tests/tail/Makefile.in
+++ b/tests/tail/Makefile.in
@@ -129,7 +129,7 @@ default: all
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/tail/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/tests/tr/Makefile.in b/tests/tr/Makefile.in
index 896a16de6..2c041a0c0 100644
--- a/tests/tr/Makefile.in
+++ b/tests/tr/Makefile.in
@@ -131,7 +131,7 @@ default: all
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnits tests/tr-test/Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status