~vcs-imports/busybox/trunk

« back to all changes in this revision

Viewing changes to testsuite/sha1sum.tests

  • Committer: Eric Andersen
  • Date: 1999-11-24 09:04:33 UTC
  • Revision ID: git-v1:b99df0fd65abe3245fa2d04115326100847f865e
First draft

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
. ./testing.sh
4
 
 
5
 
# testing "test name" "cmd" "expected result" "file input" "stdin"
6
 
>EMPTY
7
 
optional FEATURE_MD5_SHA1_SUM_CHECK
8
 
testing "sha1sum: one-space separated input for -c" \
9
 
        'echo "da39a3ee5e6b4b0d3255bfef95601890afd80709 EMPTY" | sha1sum -c' \
10
 
        "EMPTY: OK\n" \
11
 
        "" ""
12
 
SKIP=
13
 
rm EMPTY
14
 
 
15
 
. ./md5sum.tests sha1sum d41337e834377140ae7f98460d71d908598ef04f