summaryrefslogtreecommitdiff
path: root/testsuite/od.tests
blob: fa47b4790bf04b8fc609486a94ef59b454070919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
# Copyright 2008 by Denys Vlasenko
# Licensed under GPLv2, see file LICENSE in this source tree.

. ./testing.sh

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

optional DESKTOP
testing "od -b" \
	"od -b" \
"\
0000000 110 105 114 114 117
0000005
" \
	"" "HELLO"
SKIP=

optional DESKTOP
testing "od -b --traditional" \
	"od -b --traditional" \
"\
0000000 110 105 114 114 117
0000005
" \
	"" "HELLO"
SKIP=

optional DESKTOP
testing "od -b --traditional FILE" \
	"od -b --traditional input" \
"\
0000000 110 105 114 114 117
0000005
" \
	"HELLO" ""
SKIP=

exit $FAILCOUNT