summaryrefslogtreecommitdiffstats
path: root/tests/openpgp/sigs.test
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2012-04-05 20:32:42 +0200
committerWerner Koch <wk@gnupg.org>2012-04-05 20:36:04 +0200
commitf1e1387bee286c7434f0462185048872bcdb4484 (patch)
tree26c05eecb694377995f78cdd1658dd88d0babc35 /tests/openpgp/sigs.test
parentMention status messages in the documentation. (diff)
downloadgnupg2-f1e1387bee286c7434f0462185048872bcdb4484.tar.xz
gnupg2-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 '')
-rwxr-xr-xtests/openpgp/sigs.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/openpgp/sigs.test b/tests/openpgp/sigs.test
index 28ce9f1b1..d6d8898d6 100755
--- a/tests/openpgp/sigs.test
+++ b/tests/openpgp/sigs.test
@@ -17,7 +17,7 @@ for i in $plain_files $data_files; do
done
for da in `all_hash_algos` ; do
- echo_n "$da "
+ progress "$da"
# RSA key, so any hash is okay
if have_pubkey_algo "RSA"; then
@@ -42,4 +42,5 @@ for da in `all_hash_algos` ; do
done
fi
done
-echo_n "| "
+
+progress_end