summaryrefslogtreecommitdiff
path: root/testsuite/od.tests
blob: 60f22d5dd75de0adf9a5761c318bc5603efc4b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# Copyright 2008 by Denys Vlasenko
# Licensed under GPL v2, see file LICENSE for details.

. testing.sh

# testing "test name" "options" "expected result" "file input" "stdin"

testing "od -b" \
	"echo HELLO | od -b" \
"\
0000000 110 105 114 114 117 012
0000006
" \
	"" "HELLO"

exit $FAILCOUNT