busybox/testsuite/od.tests

18 lines
288 B
Plaintext
Raw Normal View History

2008-04-15 01:20:06 +05:30
#!/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" \
2008-04-15 01:26:46 +05:30
"od -b" \
2008-04-15 01:20:06 +05:30
"\
2008-04-15 01:26:46 +05:30
0000000 110 105 114 114 117
2008-04-15 01:20:06 +05:30
0000006
" \
"" "HELLO"
exit $FAILCOUNT