diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-14 19:50:06 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-14 19:50:06 +0000 |
commit | 7089c31d578d683804598b405e2cdf375cd7ce33 (patch) | |
tree | d341e2416feb70de55b9684a8d03852f5f5f404c /testsuite | |
parent | c7131c3e58c2cef17263d03ac542f7fbea1ce2db (diff) | |
download | busybox-w32-7089c31d578d683804598b405e2cdf375cd7ce33.tar.gz busybox-w32-7089c31d578d683804598b405e2cdf375cd7ce33.tar.bz2 busybox-w32-7089c31d578d683804598b405e2cdf375cd7ce33.zip |
od: fix "od -b"
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/od.tests | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/od.tests b/testsuite/od.tests new file mode 100755 index 000000000..60f22d5dd --- /dev/null +++ b/testsuite/od.tests | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/sh | ||
2 | # Copyright 2008 by Denys Vlasenko | ||
3 | # Licensed under GPL v2, see file LICENSE for details. | ||
4 | |||
5 | . testing.sh | ||
6 | |||
7 | # testing "test name" "options" "expected result" "file input" "stdin" | ||
8 | |||
9 | testing "od -b" \ | ||
10 | "echo HELLO | od -b" \ | ||
11 | "\ | ||
12 | 0000000 110 105 114 114 117 012 | ||
13 | 0000006 | ||
14 | " \ | ||
15 | "" "HELLO" | ||
16 | |||
17 | exit $FAILCOUNT | ||