aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-10-21 17:24:27 +0200
committerMattias Andrée <maandree@kth.se>2020-10-21 17:24:27 +0200
commit6a5995fdf595260f9db3c2704fd8170ee7636f0c (patch)
tree7c4ec303fa74dcbd340ecd2463f3434bdefe292a
parentAdd multicall binary option (diff)
downloadsha3sum-6a5995fdf595260f9db3c2704fd8170ee7636f0c.tar.gz
sha3sum-6a5995fdf595260f9db3c2704fd8170ee7636f0c.tar.bz2
sha3sum-6a5995fdf595260f9db3c2704fd8170ee7636f0c.tar.xz
test: check that -c accepts both uppercase and lowercase
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rwxr-xr-xtest12
1 files changed, 6 insertions, 6 deletions
diff --git a/test b/test
index aa16690..91d782e 100755
--- a/test
+++ b/test
@@ -133,8 +133,8 @@ printf 'bet' > .testdir/b
printf 'gimel' > .testdir/c
printf 'dalet' > .testdir/d
-./sha3-224sum .testdir/a .testdir/b .testdir/c .testdir/d > .testdir/sums-1
-./sha3-224sum .testdir/b .testdir/a .testdir/d .testdir/c > .testdir/sums-2
+./sha3-224sum -u .testdir/a .testdir/b .testdir/c .testdir/d > .testdir/sums-1
+./sha3-224sum -l .testdir/b .testdir/a .testdir/d .testdir/c > .testdir/sums-2
./sha3-224sum -c .testdir/sums-1
./sha3-224sum -c .testdir/sums-2
@@ -158,14 +158,14 @@ test $x = 1
printf 'dalet' > .testdir/d
-./sha3-224sum -z .testdir/a .testdir/b .testdir/c .testdir/d > .testdir/sums-1z
-./sha3-224sum -z .testdir/b .testdir/a .testdir/d .testdir/c > .testdir/sums-2z
+./sha3-224sum -zu .testdir/a .testdir/b .testdir/c .testdir/d > .testdir/sums-1z
+./sha3-224sum -lz .testdir/b .testdir/a .testdir/d .testdir/c > .testdir/sums-2z
./sha3-224sum -cz .testdir/sums-1z
-./sha3-224sum -cz .testdir/sums-2z
+./sha3-224sum -zc .testdir/sums-2z
./sha3-224sum -cz < .testdir/sums-1z
-./sha3-224sum -cz < .testdir/sums-2z
+./sha3-224sum -zc < .testdir/sums-2z
rm .testdir/d
set +e