diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/hexdump.tests | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/hexdump.tests b/testsuite/hexdump.tests new file mode 100755 index 000000000..45a0c1300 --- /dev/null +++ b/testsuite/hexdump.tests | |||
@@ -0,0 +1,18 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Copyright 2018 by Denys Vlasenko <vda.linux@googlemail.com> | ||
4 | # Licensed under GPLv2, see file LICENSE in this source tree. | ||
5 | |||
6 | . ./testing.sh | ||
7 | |||
8 | # testing "description" "command" "result" "infile" "stdin" | ||
9 | testing 'hexdump -C with four NULs' \ | ||
10 | 'hexdump -C' \ | ||
11 | "\ | ||
12 | 00000000 00 00 00 00 |....| | ||
13 | 00000004 | ||
14 | " \ | ||
15 | '' \ | ||
16 | '\0\0\0\0' | ||
17 | |||
18 | exit $FAILCOUNT | ||