od.tests 290 B

1234567891011121314151617
  1. #!/bin/sh
  2. # Copyright 2008 by Denys Vlasenko
  3. # Licensed under GPL v2, see file LICENSE for details.
  4. . ./testing.sh
  5. # testing "test name" "options" "expected result" "file input" "stdin"
  6. testing "od -b" \
  7. "od -b" \
  8. "\
  9. 0000000 110 105 114 114 117
  10. 0000005
  11. " \
  12. "" "HELLO"
  13. exit $FAILCOUNT