diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2023-01-02 17:02:17 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2023-01-02 17:02:17 +0100 |
commit | fb0c000567634db32a644fef0e82627517a0f2e8 (patch) | |
tree | 6be4f48e5626626edb7194e064eb20cdd71a66f1 | |
parent | dc068abad597cb8ccd08da84180d0bdba7b3af01 (diff) | |
download | busybox-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-x | testsuite/sha1sum.tests | 2 |
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 |
7 | optional FEATURE_MD5_SHA1_SUM_CHECK | ||
7 | testing "sha1sum: one-space separated input for -c" \ | 8 | testing "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 | "" "" |
12 | SKIP= | ||
11 | rm EMPTY | 13 | rm EMPTY |
12 | 14 | ||
13 | . ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f | 15 | . ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f |