From 92cc04b08649dc52c9edd9c01212c3106d00b08b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 13 May 2020 03:39:52 -0500 Subject: More tests that don't pass TEST_HOST. (The file one is checking for overly-specific output again.) --- tests/cpio.test | 2 +- tests/factor.test | 6 +++--- tests/file.test | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/cpio.test b/tests/cpio.test index 5158efa4..7231ba0f 100755 --- a/tests/cpio.test +++ b/tests/cpio.test @@ -33,7 +33,7 @@ rm a bb ccc dddd # archive dangling symlinks and empty files even if we cannot open them touch a; chmod a-rwx a; ln -s a/cant b -testing "archives unreadable empty files" "cpio -o -H newc|cpio -it" "a\nb\n" "" "a\nb\n" +toyonly testing "archives unreadable empty files" "cpio -o -H newc|cpio -it" "a\nb\n" "" "a\nb\n" chmod u+rw a; rm -f a b diff --git a/tests/factor.test b/tests/factor.test index 2ec557a3..b556c3a7 100755 --- a/tests/factor.test +++ b/tests/factor.test @@ -4,9 +4,9 @@ #testing "name" "command" "result" "infile" "stdin" -testing "-32" "factor -32" "-32: -1 2 2 2 2 2\n" "" "" -testing "0" "factor 0" "0: 0\n" "" "" -testing "1" "factor 1" "1: 1\n" "" "" +toyonly testing "-32" "factor -32" "-32: -1 2 2 2 2 2\n" "" "" +toyonly testing "0" "factor 0" "0: 0\n" "" "" +toyonly testing "1" "factor 1" "1: 1\n" "" "" testing "2" "factor 2" "2: 2\n" "" "" testing "3" "factor 3" "3: 3\n" "" "" testing "4" "factor 4" "4: 2 2\n" "" "" diff --git a/tests/file.test b/tests/file.test index c5eff3eb..419da0a6 100755 --- a/tests/file.test +++ b/tests/file.test @@ -17,8 +17,8 @@ BROKEN=$(readlink dangler) testing "directory" "file ." ".: directory\n" "" "" testing "empty" "file empty" "empty: empty\n" "" "" -testing "bash.script" "file bash.script" "bash.script: /bin/bash script\n" "" "" -testing "bash.script with spaces" "file bash.script2" "bash.script2: /bin/bash script\n" "" "" +testing "bash.script" "file bash.script | grep -o ' script"' " script\n" "" "" +testing "bash.script with spaces" "file bash.script2 | grep -o ' script'" " script\n" "" "" testing "env python script" "file env.python.script" "env.python.script: python script\n" "" "" testing "ascii" "file ascii" "ascii: ASCII text\n" "" "" testing "utf-8" "file $FILES/utf8/japan.txt | sed 's|$FILES/||'" \ -- cgit v1.2.3