aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/xxd.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/xxd.test b/tests/xxd.test
index 97634e86..48ed319d 100644
--- a/tests/xxd.test
+++ b/tests/xxd.test
@@ -15,7 +15,6 @@ testing "file1" "xxd file1" \
testing "file1 -l" "xxd -l 2 file1" \
"00000000: 7468 th\n" \
"" ""
-testing "file2" "xxd file2" "" "" ""
testing "-" "xxd -" \
"00000000: 6865 6c6c 6f hello\n" "" "hello"
testing "xxd" "xxd" \
@@ -27,6 +26,8 @@ testing "-c 8 -g 3 file1" "xxd -c 8 -g 3 file1" \
testing "-i" "cat file1 | xxd -i -" " 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x73, 0x6f, 0x6d, 0x65,\n 0x20, 0x74, 0x65, 0x78, 0x74, 0x0a\n" "" ""
+testing "-o 0x8000" "xxd -o 0x8000 file1" "00008000: 7468 6973 2069 7320 736f 6d65 2074 6578 this is some tex\n00008010: 740a t.\n" "" ""
+
testing "-p" "xxd -p file1" "7468697320697320736f6d6520746578740a\n" "" ""
testing "-s" "xxd -s 13 file1" "0000000d: 7465 7874 0a text.\n" "" ""