summaryrefslogtreecommitdiff
path: root/release/src/router/busybox/testsuite/od.tests
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/router/busybox/testsuite/od.tests')
-rwxr-xr-xrelease/src/router/busybox/testsuite/od.tests17
1 files changed, 17 insertions, 0 deletions
diff --git a/release/src/router/busybox/testsuite/od.tests b/release/src/router/busybox/testsuite/od.tests
new file mode 100755
index 00000000..69c29952
--- /dev/null
+++ b/release/src/router/busybox/testsuite/od.tests
@@ -0,0 +1,17 @@
+#!/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" \
+ "od -b" \
+"\
+0000000 110 105 114 114 117
+0000006
+" \
+ "" "HELLO"
+
+exit $FAILCOUNT