diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cut.test | 4 | ||||
-rw-r--r-- | tests/dd.test | 2 | ||||
-rwxr-xr-x | tests/rm.test | 2 |
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 |