summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/od.tests22
1 files changed, 21 insertions, 1 deletions
diff --git a/testsuite/od.tests b/testsuite/od.tests
index 138efed..fa47b47 100755
--- a/testsuite/od.tests
+++ b/testsuite/od.tests
@@ -4,7 +4,7 @@
. ./testing.sh
-# testing "test name" "options" "expected result" "file input" "stdin"
+# testing "test name" "commands" "expected result" "file input" "stdin"
optional DESKTOP
testing "od -b" \
@@ -16,4 +16,24 @@ testing "od -b" \
"" "HELLO"
SKIP=
+optional DESKTOP
+testing "od -b --traditional" \
+ "od -b --traditional" \
+"\
+0000000 110 105 114 114 117
+0000005
+" \
+ "" "HELLO"
+SKIP=
+
+optional DESKTOP
+testing "od -b --traditional FILE" \
+ "od -b --traditional input" \
+"\
+0000000 110 105 114 114 117
+0000005
+" \
+ "HELLO" ""
+SKIP=
+
exit $FAILCOUNT