Skip GPG test if gpg install fails. Fixes debci
See https://bugs.debian.org/922265
This commit is contained in:
parent
9274c54f20
commit
77ccc9bbc3
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user