aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-04-22 16:50:59 -0500
committerRob Landley <rob@landley.net>2019-04-22 16:50:59 -0500
commitdfe7cbc62e0645d2beb1147facdee6f95c75c31d (patch)
tree1486d493e371ecc4ee0bcc6b25b0ba2bac8079b7
parentd409fb40129f2ea4a46f5e15d027ce7262c3df4f (diff)
downloadtoybox-dfe7cbc62e0645d2beb1147facdee6f95c75c31d.tar.gz
More TEST_HOST -> toyonly
-rwxr-xr-xtests/cut.test4
-rw-r--r--tests/dd.test2
-rwxr-xr-xtests/rm.test2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/cut.test b/tests/cut.test
index e5a23fc1..e475288a 100755
--- a/tests/cut.test
+++ b/tests/cut.test
@@ -31,11 +31,11 @@ testing "-c -b" "cut -c -39 abc.txt" \
"" ""
testing "-c a" "cut -c 40 abc.txt" "\n:\n \n" "" ""
testing "-c a,b-c,d" "cut -c 3,5-7,10 abc.txt" "etwoh\npa:ba\nequi \n" "" ""
-SKIP_HOST=1 testing "-c japan.txt" 'cut -c 3-6,9-12 "$FILES/utf8/japan.txt"' \
+toyonly testing "-c japan.txt" 'cut -c 3-6,9-12 "$FILES/utf8/japan.txt"' \
"ガラスをられます\n" "" ""
# substitute for awk
-SKIP_HOST=1 testcmd "-DF" "-DF 2,7,5" \
+toyonly testcmd "-DF" "-DF 2,7,5" \
"said and your\nare\nis demand. supply\nforecast :\nyou you better,\n\nEm: Took hate\n" "" \
"Bother, said Pooh. It's your husband, and he has a gun.
Cheerios are donut seeds.
diff --git a/tests/dd.test b/tests/dd.test
index 1ab06d45..3ad15f2e 100644
--- a/tests/dd.test
+++ b/tests/dd.test
@@ -13,7 +13,7 @@ opt="2>/dev/null"
# Test suffixed number parsing; `count` is representative.
testing "count=2" "dd if=input count=2 ibs=1 $opt" "hi" "high\n" ""
testing "count= 2" "dd if=input 'count= 2' ibs=1 $opt" "hi" "high\n" ""
-SKIP_HOST=1 testing "count=0x2" "dd if=input 'count=0x2' ibs=1 $opt" "hi" \
+toyonly testing "count=0x2" "dd if=input 'count=0x2' ibs=1 $opt" "hi" \
"high\n" ""
testing "count=-2" "dd if=input 'count=-2' ibs=1 2>/dev/null || echo errored" "errored\n" "" ""
diff --git a/tests/rm.test b/tests/rm.test
index f0a123c3..9f2b8012 100755
--- a/tests/rm.test
+++ b/tests/rm.test
@@ -45,7 +45,7 @@ testing "-r nested_dir" "rm -r dir1/dir2/ 2>/dev/null &&
rm -rf dir*
mkdir -p one && touch one/two && chmod 000 one
-SKIP_HOST=1 testing "-rf 000 dir" \
+toyonly testing "-rf 000 dir" \
"rm -rf one 2>/dev/null && [ ! -e one ] && echo yes" "yes\n" "" ""
chmod 777 one 2>/dev/null ; rm -rf one