tests: Use info and error instead of a plain echo.
authorWerner Koch <wk@gnupg.org>
Wed, 6 Jan 2016 07:34:14 +0000 (08:34 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 6 Jan 2016 07:34:14 +0000 (08:34 +0100)
* tests/openpgp/4gb-packet.test: Use error and info.

Signed-off-by: Werner Koch <wk@gnupg.org>
tests/openpgp/4gb-packet.test

index 57b8fc7..548ebfe 100755 (executable)
@@ -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