summaryrefslogtreecommitdiff
path: root/tests/head
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-07-10 15:38:43 +0000
committerJim Meyering <jim@meyering.net>1997-07-10 15:38:43 +0000
commit41c1791ddd311f688bb14aa71a783b21b10fb894 (patch)
tree78319355b8812aec88a0bcd158c3bcc8f7e374c3 /tests/head
parentc8fbd48706146a8f57aae79e84b22e55e6178836 (diff)
downloadcoreutils-41c1791ddd311f688bb14aa71a783b21b10fb894.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/head')
-rw-r--r--tests/head/Test.pm21
1 files changed, 17 insertions, 4 deletions
diff --git a/tests/head/Test.pm b/tests/head/Test.pm
index f7f351228..72fe614fc 100644
--- a/tests/head/Test.pm
+++ b/tests/head/Test.pm
@@ -5,10 +5,23 @@ use strict;
my @tv = (
# test name, options, input, expected output, expected return code
#
-['idem-1', '', "", "", 0],
-['idem-2', '', "a", "a", 0],
-['idem-3', '', "\n", "\n", 0],
-['idem-4', '', "a\n", "a\n", 0],
+['idem-0', '', "", "", 0],
+['idem-1', '', "a", "a", 0],
+['idem-2', '', "\n", "\n", 0],
+['idem-3', '', "a\n", "a\n", 0],
+
+['basic-0-10', '',
+ "1\n2\n3\n4\n5\n6\n7\n8\n9\na\n",
+ "1\n2\n3\n4\n5\n6\n7\n8\n9\na\n", 0],
+
+['basic-0-09', '',
+ "1\n2\n3\n4\n5\n6\n7\n8\n9\n",
+ "1\n2\n3\n4\n5\n6\n7\n8\n9\n", 0],
+
+['basic-0-11', '',
+ "1\n2\n3\n4\n5\n6\n7\n8\n9\na\nb\n",
+ "1\n2\n3\n4\n5\n6\n7\n8\n9\na\n", 0],
+
);