mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 01:10:22 +00:00
220223 TokenException caused by left over cert8.db
This commit is contained in:
parent
61be399f24
commit
613c73fc0a
@ -139,9 +139,15 @@ if( ! -d $testdir ) {
|
||||
{
|
||||
chdir "testdir" or die;
|
||||
my @dbfiles =
|
||||
("./cert7.db", "./key3.db", "./secmod.db", "./secmodule.db");
|
||||
("./cert8.db", "./key3.db", "./secmod.db");
|
||||
unlink @dbfiles;
|
||||
(grep{ -f } @dbfiles) and die "Unable to delete old database files";
|
||||
# if dbdir exists delete it
|
||||
my $dbdir = "./cert8.dir";
|
||||
if (-d $dbdir ) {
|
||||
unlink(< $dbdir/* >); # delete all files in cert8.dir
|
||||
rmdir($dbdir) or die "Unable to delete cert8.dir";
|
||||
}
|
||||
chdir ".." or die;
|
||||
my $result = system("cp $nss_lib_dir/*nssckbi* testdir"); $result >>= 8;
|
||||
$result and die "Failed to copy builtins library";
|
||||
|
Loading…
x
Reference in New Issue
Block a user