Commit 65a84af9 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fixes after UK run.

parent ef3b774a
...@@ -288,15 +288,19 @@ if (!defined($geniproj)) { ...@@ -288,15 +288,19 @@ if (!defined($geniproj)) {
$geniproj = Project->Lookup($geniprojid); $geniproj = Project->Lookup($geniprojid);
fatal("Could not lookup $geniprojid") fatal("Could not lookup $geniprojid")
if (!defined($geniproj)); if (!defined($geniproj));
}
$geniuser->Refresh();
$geniproj->Refresh();
# Create an encrypted certificate for the test scripts. # Create an encrypted certificate for the test scripts.
my $sslcert;
$geniuser->SSLCert(1, \$sslcert);
if (!defined($sslcert)) {
my $passwd = substr(TBGenSecretKey(), 0, 10); my $passwd = substr(TBGenSecretKey(), 0, 10);
system("$SUDO -u $PROTOUSER $WAP $MKUSERCERT -p '$passwd' $geniuserid"); system("$SUDO -u $PROTOUSER $WAP $MKUSERCERT -p '$passwd' $geniuserid");
fatal("Could not create encrypted certificate for geni user") fatal("Could not create encrypted certificate for geni user")
if ($?); if ($?);
} }
$geniuser->Refresh();
$geniproj->Refresh();
# #
# Databases. # Databases.
......
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