From ae90832e1ace11c7e71b826abf75d685c6410704 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 19 Aug 2003 15:44:33 +0000 Subject: return 77 when gpg isn't available rather than 127 also fixed to import the keys from the correct location svn path=/trunk/; revision=22287 --- camel/tests/smime/pgp-mime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'camel/tests') diff --git a/camel/tests/smime/pgp-mime.c b/camel/tests/smime/pgp-mime.c index 86a81f82bf..557b3353ab 100644 --- a/camel/tests/smime/pgp-mime.c +++ b/camel/tests/smime/pgp-mime.c @@ -144,10 +144,10 @@ int main (int argc, char **argv) if ((ret = system ("gpg > /dev/null 2>&1")) == -1) return 77; else if (WEXITSTATUS (ret) == 127) - return 127; + return 77; - system ("gpg --import camel-test.gpg.pub > /dev/null 2>&1"); - system ("gpg --import camel-test.gpg.sec > /dev/null 2>&1"); + system ("gpg --import ../data/camel-test.gpg.pub > /dev/null 2>&1"); + system ("gpg --import ../data/camel-test.gpg.sec > /dev/null 2>&1"); session = camel_pgp_session_new ("/tmp/camel-test"); -- cgit