testsuite/sha1sum.tests: fix false positive failure

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2023-01-02 17:02:17 +01:00
parent dc068abad5
commit fb0c000567

View File

@ -4,10 +4,12 @@
# testing "test name" "cmd" "expected result" "file input" "stdin" # testing "test name" "cmd" "expected result" "file input" "stdin"
>EMPTY >EMPTY
optional FEATURE_MD5_SHA1_SUM_CHECK
testing "sha1sum: one-space separated input for -c" \ testing "sha1sum: one-space separated input for -c" \
'echo "da39a3ee5e6b4b0d3255bfef95601890afd80709 EMPTY" | sha1sum -c' \ 'echo "da39a3ee5e6b4b0d3255bfef95601890afd80709 EMPTY" | sha1sum -c' \
"EMPTY: OK\n" \ "EMPTY: OK\n" \
"" "" "" ""
SKIP=
rm EMPTY rm EMPTY
. ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f . ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f