summaryrefslogtreecommitdiff
path: root/testsuite/hexdump.tests
blob: 45a0c1300e9a732a130d49f136d15d53cba30baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# Copyright 2018 by Denys Vlasenko <vda.linux@googlemail.com>
# Licensed under GPLv2, see file LICENSE in this source tree.

. ./testing.sh

# testing "description" "command" "result" "infile" "stdin"
testing 'hexdump -C with four NULs' \
	'hexdump -C' \
	"\
00000000  00 00 00 00                                       |....|
00000004
" \
	'' \
	'\0\0\0\0'

exit $FAILCOUNT