hush/testsuite/od.tests

18 lines
288 B
Plaintext
Raw Normal View History

2008-04-14 19:50:06 +00:00
#!/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-14 19:56:46 +00:00
"od -b" \
2008-04-14 19:50:06 +00:00
"\
2008-04-14 19:56:46 +00:00
0000000 110 105 114 114 117
0000005
2008-04-14 19:50:06 +00:00
" \
"" "HELLO"
exit $FAILCOUNT