aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-04-02 12:27:38 -0700
committerRob Landley <rob@landley.net>2017-04-07 11:37:04 -0500
commitf966da9e6efed946209a68e53970ad3488a55456 (patch)
tree7b79d6a7cf8a16090a522dd1dfb60889ad45f465 /tests
parent216e4dab193458ba396db861a5eb6d410f80d1c8 (diff)
downloadtoybox-f966da9e6efed946209a68e53970ad3488a55456.tar.gz
Make bzcat tests runnable on a toybox-only system.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/bzcat.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bzcat.test b/tests/bzcat.test
index 0975f3d6..45a2fd83 100755
--- a/tests/bzcat.test
+++ b/tests/bzcat.test
@@ -4,7 +4,7 @@
#testing "name" "command" "result" "infile" "stdin"
testing "2 known files" \
- 'bzcat "$FILES/blkid/"{minix,ntfs}.bz2 | sha1sum | '"awk '{print \$1}'" \
+ 'bzcat "$FILES/blkid/"{minix,ntfs}.bz2 | sha1sum | cut -d " " -f 1' \
'c0b7469c9660d6056a988ef8a7fe73925efc9266\n' '' ''
testing "overflow" \