diff options
author | Jim Meyering <jim@meyering.net> | 1997-07-10 17:32:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-07-10 17:32:31 +0000 |
commit | 8d6318c532114a930ad8182fb8550820ee1a8671 (patch) | |
tree | 4fd1acaa9c787ca28226bacb543d74fa1ef5cbd5 | |
parent | 36df27319986fd46594efe2983b7cf2307225f77 (diff) | |
download | coreutils-8d6318c532114a930ad8182fb8550820ee1a8671.tar.xz |
.
-rw-r--r-- | tests/head/Makefile.am | 17 | ||||
-rw-r--r-- | tests/head/Makefile.in | 17 | ||||
-rw-r--r-- | tests/head/Test.pm | 5 |
3 files changed, 29 insertions, 10 deletions
diff --git a/tests/head/Makefile.am b/tests/head/Makefile.am index 5ed3c7517..ad9c2e0e6 100644 --- a/tests/head/Makefile.am +++ b/tests/head/Makefile.am @@ -2,11 +2,18 @@ ##test-files-begin x = head -explicit = -maint_gen = idem-1.I idem-1.X idem-2.I idem-2.X idem-3.I idem-3.X idem-4.I \ -idem-4.X -run_gen = idem-1.O idem-1.E idem-2.O idem-2.E idem-3.O idem-3.E idem-4.O \ -idem-4.E +explicit = in in-1024 +maint_gen = idem-0.I idem-0.X idem-1.I idem-1.X idem-2.I idem-2.X idem-3.I \ +idem-3.X basic-0-10.I basic-0-10.X basic-0-09.I basic-0-09.X basic-0-11.I \ +basic-0-11.X obs-0.I obs-0.X obs-1.I obs-1.X obs-2.I obs-2.X obs-3.I obs-3.X \ +fail-0.I fail-0.X posix-0.I posix-0.X posix-1.I posix-1.X posix-2.I posix-2.X \ +posix-3.I posix-3.X +run_gen = idem-0.O idem-0.E idem-1.O idem-1.E idem-2.O idem-2.E idem-3.O \ +idem-3.E basic-0-10.O basic-0-10.E basic-0-09.O basic-0-09.E basic-0-11.O \ +basic-0-11.E obs-0.O obs-0.E obs-1.O obs-1.E obs-2.O obs-2.E obs-3.O obs-3.E \ +obs-4.O obs-4.E obs-5.O obs-5.E fail-0.O fail-0.E posix-0.O posix-0.E \ +posix-1.O posix-1.E posix-2.O posix-2.E posix-3.O posix-3.E posix-4.O \ +posix-4.E posix-5.O posix-5.E ##test-files-end EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen) diff --git a/tests/head/Makefile.in b/tests/head/Makefile.in index 5e7e54f3b..12b0b62c2 100644 --- a/tests/head/Makefile.in +++ b/tests/head/Makefile.in @@ -80,11 +80,18 @@ VERSION = @VERSION@ l = @l@ x = head -explicit = -maint_gen = idem-1.I idem-1.X idem-2.I idem-2.X idem-3.I idem-3.X idem-4.I \ -idem-4.X -run_gen = idem-1.O idem-1.E idem-2.O idem-2.E idem-3.O idem-3.E idem-4.O \ -idem-4.E +explicit = in in-1024 +maint_gen = idem-0.I idem-0.X idem-1.I idem-1.X idem-2.I idem-2.X idem-3.I \ +idem-3.X basic-0-10.I basic-0-10.X basic-0-09.I basic-0-09.X basic-0-11.I \ +basic-0-11.X obs-0.I obs-0.X obs-1.I obs-1.X obs-2.I obs-2.X obs-3.I obs-3.X \ +fail-0.I fail-0.X posix-0.I posix-0.X posix-1.I posix-1.X posix-2.I posix-2.X \ +posix-3.I posix-3.X +run_gen = idem-0.O idem-0.E idem-1.O idem-1.E idem-2.O idem-2.E idem-3.O \ +idem-3.E basic-0-10.O basic-0-10.E basic-0-09.O basic-0-09.E basic-0-11.O \ +basic-0-11.E obs-0.O obs-0.E obs-1.O obs-1.E obs-2.O obs-2.E obs-3.O obs-3.E \ +obs-4.O obs-4.E obs-5.O obs-5.E fail-0.O fail-0.E posix-0.O posix-0.E \ +posix-1.O posix-1.E posix-2.O posix-2.E posix-3.O posix-3.E posix-4.O \ +posix-4.E posix-5.O posix-5.E EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen) noinst_SCRIPTS = $x-tests diff --git a/tests/head/Test.pm b/tests/head/Test.pm index 8cb0a51c2..6cc67c207 100644 --- a/tests/head/Test.pm +++ b/tests/head/Test.pm @@ -26,6 +26,11 @@ my @tv = ( ['obs-1', '-1c', "", "", 0], ['obs-2', '-1c', "12", "1", 0], ['obs-3', '-14c', "1234567890abcdefg", "1234567890abcd", 0], +['obs-4', '-2b', [\'in'], [\'in-1024'], 0], #' +['obs-5', '-1k', [\'in'], [\'in-1024'], 0], #' + +# This test fails for textutils-1.22, because head didn't fail. +['fail-0', '-n 4096m', 'a\n', '', 1], #' ); |