head: add test case for negative -n invocation
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Thu, 13 Sep 2018 13:01:45 +0000 (15:01 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 22 Sep 2018 17:40:35 +0000 (19:40 +0200)
commite0f617699f7f1dfa1e56ded54bb1d70fd91c225e
tree4bf7bfe431da5f66ece69c20bf0beae4bc6ec20b
parent426aff88a0802b8da18292079f60f56388d0cdad
head: add test case for negative -n invocation

Commit 2da9724b56169f00bd7fb6b9a11c9409a7620981 broke 'head -n -1' and was
later reverted with 0d598ab9f03dbf320f7b81c05e4a94cb303dfbc7.

This commit adds a test case to avoid future breakage.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
testsuite/head.tests [new file with mode: 0755]