aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-08-19 23:44:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-08-19 23:44:33 +0800
commitae90832e1ace11c7e71b826abf75d685c6410704 (patch)
tree2353862485cb78a9d6fb529f6d1968cd870895b5 /camel/tests
parentea129e916bd6b4de8921db9c86a42b27fbc4fd12 (diff)
downloadgsoc2013-evolution-ae90832e1ace11c7e71b826abf75d685c6410704.tar.gz
gsoc2013-evolution-ae90832e1ace11c7e71b826abf75d685c6410704.tar.zst
gsoc2013-evolution-ae90832e1ace11c7e71b826abf75d685c6410704.zip
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
Diffstat (limited to 'camel/tests')
-rw-r--r--camel/tests/smime/pgp-mime.c6
1 files changed, 3 insertions, 3 deletions
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");