3 # write new values from form to $wd/conf/testbed, and run WebStone
7 require('WebStone-common.pl');
9 html_begin
("Current Configuration");
16 <FORM METHOD="POST" ACTION="$wd/bin/runbench.pl">
17 <P><INPUT TYPE="SUBMIT" VALUE="Run WebStone">
29 rename("$wd/conf/testbed", "$wd/conf/testbed.bak") ||
30 die "rename testbed: $!\n";
31 open(TESTBED
, ">>$wd/conf/testbed") || die "open testbed: $!\n";
35 foreach $key (@keylist) {
37 $newvalue = "$key=\"$$key\"\n";
38 print CLIENT
$newvalue;
39 print TESTBED
$newvalue;
42 print CLIENT
"</PRE>";