mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
cksum: add tests to verify the presence of "*"
* tests/cksum/cksum-a.sh: Add a test case.
This commit is contained in:
1 parent
de49e993ea
commit
ecf7d12937
1 file changed
+7
@@ -67,4 +67,11 @@ cksum --untagged -a md5 /dev/null >out || fail=1
|
||||
compare out out-1 || fail=1
|
||||
compare out out-2 || fail=1
|
||||
|
||||
# check that the '*' is present
|
||||
cksum --tag --untagged --binary -a md5 /dev/null >out || fail=1
|
||||
grep " *" out >/dev/null || { fail=1; cat out; }
|
||||
# Verify that the order does not reset binary indicator
|
||||
cksum --binary --untagged -a md5 /dev/null >out-1 || fail=1
|
||||
compare out out-1 || fail=1
|
||||
|
||||
Exit $fail
|
||||
Reference in new issue
Block a user