diff options
author | Werner Koch <[email protected]> | 2016-01-06 07:34:14 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-01-06 07:34:14 +0000 |
commit | 1fbfa1bf0a6ad0dc7ed67d12252643c2c6c7370a (patch) | |
tree | 8e12da4e99a73705942a310f1a41fa91ff2ed161 | |
parent | common: Do not deref vars in tests after a fail(). (diff) | |
download | gnupg-1fbfa1bf0a6ad0dc7ed67d12252643c2c6c7370a.tar.gz gnupg-1fbfa1bf0a6ad0dc7ed67d12252643c2c6c7370a.zip |
tests: Use info and error instead of a plain echo.
* tests/openpgp/4gb-packet.test: Use error and info.
Signed-off-by: Werner Koch <[email protected]>
-rwxr-xr-x | tests/openpgp/4gb-packet.test | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/openpgp/4gb-packet.test b/tests/openpgp/4gb-packet.test index 57b8fc7bc..548ebfe6d 100755 --- a/tests/openpgp/4gb-packet.test +++ b/tests/openpgp/4gb-packet.test @@ -8,9 +8,7 @@ i=$srcdir/4gb-packet.asc if ! $GPG --list-packets $i >/dev/null then - echo Failed to parse 4GB packet. - exit 1 + error Failed to parse 4GB packet. else - echo Can parse 4GB packets. - exit 0 + info Can parse 4GB packets. fi |