aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-01-02 17:02:17 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2023-01-02 17:02:17 +0100
commitfb0c000567634db32a644fef0e82627517a0f2e8 (patch)
tree6be4f48e5626626edb7194e064eb20cdd71a66f1
parentdc068abad597cb8ccd08da84180d0bdba7b3af01 (diff)
downloadbusybox-w32-fb0c000567634db32a644fef0e82627517a0f2e8.tar.gz
busybox-w32-fb0c000567634db32a644fef0e82627517a0f2e8.tar.bz2
busybox-w32-fb0c000567634db32a644fef0e82627517a0f2e8.zip
testsuite/sha1sum.tests: fix false positive failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xtestsuite/sha1sum.tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/sha1sum.tests b/testsuite/sha1sum.tests
index 7ad1334c3..e6ddb2a86 100755
--- a/testsuite/sha1sum.tests
+++ b/testsuite/sha1sum.tests
@@ -4,10 +4,12 @@
4 4
5# testing "test name" "cmd" "expected result" "file input" "stdin" 5# testing "test name" "cmd" "expected result" "file input" "stdin"
6>EMPTY 6>EMPTY
7optional FEATURE_MD5_SHA1_SUM_CHECK
7testing "sha1sum: one-space separated input for -c" \ 8testing "sha1sum: one-space separated input for -c" \
8 'echo "da39a3ee5e6b4b0d3255bfef95601890afd80709 EMPTY" | sha1sum -c' \ 9 'echo "da39a3ee5e6b4b0d3255bfef95601890afd80709 EMPTY" | sha1sum -c' \
9 "EMPTY: OK\n" \ 10 "EMPTY: OK\n" \
10 "" "" 11 "" ""
12SKIP=
11rm EMPTY 13rm EMPTY
12 14
13. ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f 15. ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f