diff options
author | Mattias Andrée <maandree@kth.se> | 2020-10-21 17:24:27 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-10-21 17:24:27 +0200 |
commit | 6a5995fdf595260f9db3c2704fd8170ee7636f0c (patch) | |
tree | 7c4ec303fa74dcbd340ecd2463f3434bdefe292a | |
parent | Add multicall binary option (diff) | |
download | sha3sum-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-x | test | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |