diff options
Diffstat (limited to 'testsuite/sha1sum.tests')
-rwxr-xr-x | testsuite/sha1sum.tests | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/sha1sum.tests b/testsuite/sha1sum.tests index a968fa87c..7ad1334c3 100755 --- a/testsuite/sha1sum.tests +++ b/testsuite/sha1sum.tests | |||
@@ -1,3 +1,13 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | . ./testing.sh | ||
4 | |||
5 | # testing "test name" "cmd" "expected result" "file input" "stdin" | ||
6 | >EMPTY | ||
7 | testing "sha1sum: one-space separated input for -c" \ | ||
8 | 'echo "da39a3ee5e6b4b0d3255bfef95601890afd80709 EMPTY" | sha1sum -c' \ | ||
9 | "EMPTY: OK\n" \ | ||
10 | "" "" | ||
11 | rm EMPTY | ||
12 | |||
3 | . ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f | 13 | . ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f |