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>
Mon, 22 Apr 2013 07:30:47 +0000 (09:30 +0200)
commitda0925973ef38e1ba82dbc19d829fb11677efc74
tree65894a7004e9d5ba74055079ba353e8b98e75dab
parent79d7e1d86bbd658c14a2f9cf3b7b4b5562df17c3
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 f1e1387bee286c7434f0462185048872bcdb4484)
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