Commit 77ccc9bb authored by Xavier Guimard's avatar Xavier Guimard

Skip GPG test if gpg install fails. Fixes debci

See https://bugs.debian.org/922265
parent 9274c54f
...@@ -42,7 +42,10 @@ SKIP: { ...@@ -42,7 +42,10 @@ SKIP: {
else { else {
run( [ 'gpg', '--clearsign', '--homedir', 't/gpghome' ], run( [ 'gpg', '--clearsign', '--homedir', 't/gpghome' ],
\$token, \$out, \$err, IPC::Run::timeout(10) ); \$token, \$out, \$err, IPC::Run::timeout(10) );
ok( $? == 0, "Succeed to sign" ); unless ( $? == 0 ) {
skip "Local GPG signature fails, aborting", 2;
}
pass("Succeed to sign");
} }
$query .= '&' . build_urlencoded( password => $out ); $query .= '&' . build_urlencoded( password => $out );
ok( ok(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment