mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-01 17:00:36 +00:00
md5/tests: extend md5 test
The testloop function is called with various parameters, but those were ignored in the coreutils-c-test script. This was an oversight and is fixed by passing the option to all invocations of the hash functions in this test script. Reported by: des MFC after: 3 days
This commit is contained in:
parent
d8b78838c5
commit
d804497068
@ -8,8 +8,8 @@ testloop () {
|
||||
opt=$1
|
||||
|
||||
while read algorithm; do
|
||||
${algorithm}sum -c %%TESTSBASE%%/sbin/md5/${algorithm}.digest || exitcode=1
|
||||
${algorithm}sum -c %%TESTSBASE%%/sbin/md5/${algorithm}sum.digest || exitcode=1
|
||||
${algorithm}sum $opt -c %%TESTSBASE%%/sbin/md5/${algorithm}.digest || exitcode=1
|
||||
${algorithm}sum $opt -c %%TESTSBASE%%/sbin/md5/${algorithm}sum.digest || exitcode=1
|
||||
done < %%TESTSBASE%%/sbin/md5/algorithms.txt
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user