2 # Copyright 2018 Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
3 # Licensed under GPLv2 or later, see file LICENSE in this source tree.
7 # testing "test name" "command" "expected result" "file input" "stdin"
24 testing "head (without args)" \
26 "line 1\nline 2\nline 3\nline 4\nline 5\nline 6\nline 7\nline 8\nline 9\nline 10\n" \
29 testing "head -n <positive number>" \
30 "head -n 2 head.input" \
34 testing "head -n <negative number>" \
35 "head -n -9 head.input" \
36 "line 1\nline 2\nline 3\n" \