libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / busybox / testsuite / od.tests
blob7a9da3e9722308375a348c8d5644fa08d4456d6a
1 #!/bin/sh
2 # Copyright 2008 by Denys Vlasenko
3 # Licensed under GPLv2, see file LICENSE in this source tree.
5 . ./testing.sh
7 # testing "test name" "commands" "expected result" "file input" "stdin"
9 optional DESKTOP
10 testing "od -b" \
11 "od -b" \
13 0000000 110 105 114 114 117
14 0000005
15 " \
16 "" "HELLO"
17 SKIP=
19 optional DESKTOP LONG_OPTS
20 testing "od -b --traditional" \
21 "od -b --traditional" \
23 0000000 110 105 114 114 117
24 0000005
25 " \
26 "" "HELLO"
27 SKIP=
29 optional DESKTOP LONG_OPTS
30 testing "od -b --traditional FILE" \
31 "od -b --traditional input" \
33 0000000 110 105 114 114 117
34 0000005
35 " \
36 "HELLO" ""
37 SKIP=
39 exit $FAILCOUNT