cryptpw: support "rounds=NNNNNNN$" thing in salts
[oweals/busybox.git] / testsuite / od.tests
index 138efedeade801f85e73a29198f4f84bd784219f..7a9da3e9722308375a348c8d5644fa08d4456d6a 100755 (executable)
@@ -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 LONG_OPTS
+testing "od -b --traditional" \
+       "od -b --traditional" \
+"\
+0000000 110 105 114 114 117
+0000005
+" \
+       "" "HELLO"
+SKIP=
+
+optional DESKTOP LONG_OPTS
+testing "od -b --traditional FILE" \
+       "od -b --traditional input" \
+"\
+0000000 110 105 114 114 117
+0000005
+" \
+       "HELLO" ""
+SKIP=
+
 exit $FAILCOUNT