Do not mix test result with progress lines.
authorWerner Koch <wk@gnupg.org>
Thu, 5 Apr 2012 18:32:42 +0000 (20:32 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 5 Apr 2012 18:36:04 +0000 (20:36 +0200)
commitf1e1387bee286c7434f0462185048872bcdb4484
tree26c05eecb694377995f78cdd1658dd88d0babc35
parent99fc61f1cf09c7f72a9037d91d3cf0cd2e035ae6
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
tests/openpgp/conventional-mdc.test
tests/openpgp/conventional.test
tests/openpgp/defs.inc
tests/openpgp/encrypt-dsa.test
tests/openpgp/encrypt.test
tests/openpgp/sigs.test