busybox/testsuite/od.tests
2008-04-14 19:50:06 +00:00

18 lines
305 B
Bash
Executable File

#!/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