blob: 716cebfa6021dae3911b46395f789c2ea1366ab6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#!/pkg/gnu/bin//perl5
#
$testbed = "conf/testbed";
push(@INC, "$wd/bin");
require('WebStone-common.pl');
html_begin("Run");
print CLIENT <<EOF
<H3><CENTER><A HREF="WebStone-setup.pl">Edit Configuration</A>
</CENTER></H3>
EOF
;
&show_model();
print CLIENT "<PRE>";
open(FILEHANDLE, $testbed);
while (<FILEHANDLE>) {
(/^\#/) || print CLIENT $_;
}
close(FILEHANDLE);
print CLIENT <<EOF
</PRE>
<CENTER>
<FORM METHOD=POST ACTION="http://localhost:$html_port$wd/bin/runbench.pl">
<INPUT TYPE="submit" VALUE="Run WebStone">
</CENTER>
EOF
;
html_end();
# end
|