aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-04-28 17:50:15 -0500
committerRob Landley <rob@landley.net>2020-04-28 17:50:15 -0500
commit92dd794d8e8d49c1b4afd869e1a34f505dd3a9b4 (patch)
tree01851b4547d98fe2d919e0f376f5a7d82cb2b6f4 /tests
parent530a9a23eb6205ac1d36bb20c133668c4ba84410 (diff)
downloadtoybox-92dd794d8e8d49c1b4afd869e1a34f505dd3a9b4.tar.gz
Replace a SKIP_HOST with toyonly.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/xxd.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xxd.test b/tests/xxd.test
index 48ed319d..e9ec81ed 100755
--- a/tests/xxd.test
+++ b/tests/xxd.test
@@ -33,7 +33,7 @@ testing "-p" "xxd -p file1" "7468697320697320736f6d6520746578740a\n" "" ""
testing "-s" "xxd -s 13 file1" "0000000d: 7465 7874 0a text.\n" "" ""
testing "-r" "echo -e ' 00000000: 7468 6973 2069 7320 736f 6d65 2074 6578 this is some tex\n00000010: 740a t.' | xxd -r" "this is some text\n" "" ""
-SKIP_HOST=1 testing "-r -i" "echo -e '0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x73, 0x6f, 0x6d, 0x65,\n 0x20, 0x74, 0x65, 0x78, 0x74, 0x0a' | xxd -ri" "this is some text\n" "" ""
+toyonly testing "-r -i" "echo -e '0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x73, 0x6f, 0x6d, 0x65,\n 0x20, 0x74, 0x65, 0x78, 0x74, 0x0a' | xxd -ri" "this is some text\n" "" ""
testing "-r -p" "echo 7468697320697320736f6d6520746578740a | xxd -r -p" "this is some text\n" "" ""
testing "-r garbage" "echo '0000: 68 65 6c6c 6fxxxx' | xxd -r -" "hello" "" ""