[Pkg-gnupg-commit] [gnupg2] 80/159: tests: Use info and error instead of a plain echo.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 27 13:23:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 1fbfa1bf0a6ad0dc7ed67d12252643c2c6c7370a
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Jan 6 08:34:14 2016 +0100

    tests: Use info and error instead of a plain echo.
    
    * tests/openpgp/4gb-packet.test: Use error and info.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 tests/openpgp/4gb-packet.test | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/openpgp/4gb-packet.test b/tests/openpgp/4gb-packet.test
index 57b8fc7..548ebfe 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list