more tests

removed examples
This commit is contained in:
Thilo Raufeisen 2006-11-03 12:39:53 +00:00
commit ba4ad8960b
33 changed files with 478 additions and 121 deletions

View file

@ -0,0 +1,12 @@
--TEST--n
delete a key from the keyring
--FILE--
<?php
require_once(dirname(__FILE__)."/vars.inc");
$gpg = gnupg_init();
gnupg_seterrormode($gpg, GNUPG_ERROR_WARNING);
$ret = gnupg_deletekey($gpg, $fingerprint,true);
var_dump($ret);
?>
--EXPECT--
bool(true)