mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Do not mix test result with progress lines.
This makes parsing of the results easier. Fixes bug#1400.
* tests/openpgp/defs.inc (progress_cancel, progress_end)
(progress_new): New.
* tests/openpgp/conventional-mdc.test: Use progress functions
* tests/openpgp/conventional.test: Ditto.
* tests/openpgp/encrypt-dsa.test: Ditto.
* tests/openpgp/encrypt.test: Ditto.
* tests/openpgp/sigs.test: Ditto.
--
The new output style is now:
> MD5 SHA1 RIPEMD160 SHA256 SHA384 SHA512 SHA224 <
PASS: sigs.test
or if the test fails:
> MD5 SHA1
sigs.test: ooops
FAIL: sigs.test
(cherry picked from commit f1e1387bee
)
This commit is contained in:
parent
79d7e1d86b
commit
da0925973e
6 changed files with 42 additions and 10 deletions
|
@ -18,7 +18,7 @@ for i in $plain_files $data_files ; do
|
|||
done
|
||||
|
||||
for ca in `all_cipher_algos` ; do
|
||||
echo_n "$ca "
|
||||
progress "$ca"
|
||||
for i in $plain_files $data_files ; do
|
||||
$GPG $dsa_keyrings --always-trust --cipher-algo $ca -e \
|
||||
-o x --yes -r "$dsa_usrname2" $i
|
||||
|
@ -26,4 +26,5 @@ for ca in `all_cipher_algos` ; do
|
|||
cmp $i y || error "$i: mismatch"
|
||||
done
|
||||
done
|
||||
echo_n "| "
|
||||
|
||||
progress_end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue