aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/encrypt-dsa.test
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-04-05 18:32:42 +0000
committerWerner Koch <[email protected]>2012-04-05 18:36:04 +0000
commitf1e1387bee286c7434f0462185048872bcdb4484 (patch)
tree26c05eecb694377995f78cdd1658dd88d0babc35 /tests/openpgp/encrypt-dsa.test
parentMention status messages in the documentation. (diff)
downloadgnupg-f1e1387bee286c7434f0462185048872bcdb4484.tar.gz
gnupg-f1e1387bee286c7434f0462185048872bcdb4484.zip
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
Diffstat (limited to 'tests/openpgp/encrypt-dsa.test')
-rwxr-xr-xtests/openpgp/encrypt-dsa.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/openpgp/encrypt-dsa.test b/tests/openpgp/encrypt-dsa.test
index ed474d0ed..8ae93d817 100755
--- a/tests/openpgp/encrypt-dsa.test
+++ b/tests/openpgp/encrypt-dsa.test
@@ -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 --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