aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/xxd.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/xxd.test b/tests/xxd.test
index 187bda51..5f43b8b5 100644
--- a/tests/xxd.test
+++ b/tests/xxd.test
@@ -27,6 +27,8 @@ testing "-c 8 -g 3 file1" "xxd -c 8 -g 3 file1" \
testing "-p" "xxd -p file1" "7468697320697320736f6d6520746578740a\n" "" ""
+testing "-s" "xxd -s 13 file1" "0000000d: 7465 7874 0a text.\n" "" ""
+
testing "-r" "xxd file1 | xxd -r" "this is some text\n" "" ""
testing "-r -p" "xxd -p file1 | xxd -r -p" "this is some text\n" "" ""