aboutsummaryrefslogtreecommitdiff
path: root/tests/file.test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-05-13 03:39:52 -0500
committerRob Landley <rob@landley.net>2020-05-13 03:39:52 -0500
commit92cc04b08649dc52c9edd9c01212c3106d00b08b (patch)
tree69ac8215e03e434f4d49eff5a05e75bd0119f810 /tests/file.test
parent75833aa33e587ea75fb9e9eee7b6ce593798be3a (diff)
downloadtoybox-92cc04b08649dc52c9edd9c01212c3106d00b08b.tar.gz
More tests that don't pass TEST_HOST. (The file one is checking for
overly-specific output again.)
Diffstat (limited to 'tests/file.test')
-rwxr-xr-xtests/file.test4
1 files changed, 2 insertions, 2 deletions
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/||'" \