amyroh 01/04/19 21:37:48
Added: tester/web SSIConfig01.shtml SSIConfig03.shtml
SSIFsize01.shtml SSIFsize02.shtml SSIFsize03.shtml
SSIFsize04.shtml SSIFsize05.shtml SSIFsize06.shtml
SSIFsize07.shtml SSIFsize08.shtml index.shtml
tester/web/golden SSIConfig01.txt SSIConfig03.txt
SSIFsize02.txt
Log:
Add additional SSI tests including fsize & config.
Revision Changes Path
1.1 jakarta-tomcat-4.0/tester/web/SSIConfig01.shtml
Index: SSIConfig01.shtml
===================================================================
<!--#config errmsg="errmsg:Sorry this command won't work." -->
<!--#fsize file="foo.shtml" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIConfig03.shtml
Index: SSIConfig03.shtml
===================================================================
<!--#config sizefmt="bytes" -->
<!--#fsize file="index.shtml" -->
<!--#config sizefmt="abbrev" -->
<!--#fsize file="index.shtml" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIFsize01.shtml
Index: SSIFsize01.shtml
===================================================================
<!--#fsize -->
1.1 jakarta-tomcat-4.0/tester/web/SSIFsize02.shtml
Index: SSIFsize02.shtml
===================================================================
<!--#fsize file="includeme.txt" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIFsize03.shtml
Index: SSIFsize03.shtml
===================================================================
<!--#fsize file="./includeme.txt" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIFsize04.shtml
Index: SSIFsize04.shtml
===================================================================
<!--#fsize virtual="includeme.txt" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIFsize05.shtml
Index: SSIFsize05.shtml
===================================================================
<!--#fsize virtual="/tester/includeme.txt" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIFsize06.shtml
Index: SSIFsize06.shtml
===================================================================
<!--#fsize virtual="ssidir/includeme.txt" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIFsize07.shtml
Index: SSIFsize07.shtml
===================================================================
<!--#fsize virtual="./ssidir/includeme.txt" -->
1.1 jakarta-tomcat-4.0/tester/web/SSIFsize08.shtml
Index: SSIFsize08.shtml
===================================================================
<!--#fsize file="includeme.txt"
-->
1.1 jakarta-tomcat-4.0/tester/web/index.shtml
Index: index.shtml
===================================================================
<html>
<head>
<title>Config command examples </title>
</head>
<body bgcolor=white>
Setting errormsg using: <!--#config errmsg="..." --> <br>
<!--#config errmsg="errormsg: Sorry this command won't work." -->
Trying to access non-existent "foo.shtml" using
<!--#fsize file="foo.shtml" -->
<br>
<!--#fsize file="foo.shtml" -->
<br>
<br>
Using <!--#config sizefmt="bytes" -->
<br>
This file ( index.shtml::size-> 2665) is
<!--#config sizefmt="bytes" -->
<!--#fsize file="index.shtml" -->
bytes in size.
<br>
<br>
Setting sizefmt to abbrev using : <!--#config sizefmt="abbrev" -->
<br>
<!--#config sizefmt="abbrev" -->
Size of file "index.shtml ( size->2665)" using sizefmt=abbrev ->
<!--#fsize file="index.shtml" -->
<br> <br>
Size of file "saveindex.shtml(size->464)" using : <!--#fsize
file="saveindex.shtml" --> ->
<!--#fsize file="saveindex.shtml" -->
<br><br>
Size of file "check1.shtml(size->1000)" using : <!--#fsize file="check1.shtml"
--> ->
<!--#fsize file="check1.shtml" -->
<br><br>
Size of file "check2.html(size->1001)" using : <!--#fsize file="check2.html"
--> ->
<!--#fsize file="check2.html" -->
<br><br>
Size of file "check3.shtml(size->1499)" using : <!--#fsize file="check3.shtml"
--> ->
<!--#fsize file="check3.shtml" -->
<br><br>
Size of file "check4.shtml(size->1500)" using : <!--#fsize file="check4.shtml"
--> ->
<!--#fsize file="check4.shtml" -->
<br><br>
Size of file "check5.shtml(size->1501)" using : <!--#fsize file="check5.shtml"
--> ->
<!--#fsize file="check5.shtml" -->
<br><br>
Size of file "checkme ( size->1535)" using : <!--#fsize file"checkme" --> ->
<!--#fsize file="checkme" -->
<br><br>
Size of file "check5.html(size->1536)" using : <!--#fsize file="check5.html"
--> ->
<!--#fsize file="check5.html" -->
<br><br>
Size of file "check55.html(size->1537)" using : <!--#fsize file="check55.html"
--> ->
<!--#fsize file="check55.html" -->
<br><br>
Size of file "check555.html(size->1538)" using : <!--#fsize file="check555.html"
--> ->
<!--#fsize file="check555.html" -->
<br><br>
Size of file "check5555.html(size->1539)" using : <!--#fsize
file="check5555.html" --> ->
<!--#fsize file="check5555.html" -->
<br><br>
Size of file "check6.shtml(size->1988)" using : <!--#fsize file="check6.shtml"
--> ->
<!--#fsize file="check6.shtml" -->
<br><br>
Size of file "check7.shtml(size->1999)" using : <!--#fsize file="check7.shtml"
--> ->
<!--#fsize file="check7.shtml" -->
<br><br>
<p>
<FONT SIZE=+2 Color=blue> timefmt Tests : </FONT>
<br> <br>
Using <!--#config timefmt="%A" -->
<!--#echo var="DATE_LOCAL" -->
<br>
Day -> <!--#config timefmt="%A" -->
<!--#echo var="DATE_LOCAL" -->,
<br> <br>
Using <!--#config timefmt="%d" --><br>
<!--#echo var="DATE_LOCAL" -->
<br>
Day of Month -> <!--#config timefmt="%d" -->
<!--#echo var="DATE_LOCAL" -->
<br> <br>
Using <!--#config timefmt="%B" --><br>
<!--#echo var="DATE_LOCAL" -->
<br>
Month(full) -> <!--#config timefmt="%B" -->
<!--#echo var="DATE_LOCAL" -->
<br> <br>
Using <!--#config timefmt="%b" --><br>
<!--#echo var="DATE_LOCAL" -->
<br>
Month(abbreviated) -> <!--#config timefmt="%b" -->
<!--#echo var="DATE_LOCAL" -->
<br> <br>
Using <!--#config timefmt="%Y" --><br>
<!--#echo var="DATE_LOCAL" -->
<br>
Year -> <!--#config timefmt="%Y"
--> <!--#echo var="DATE_LOCAL" -->.
<br> <br>
Using <!--#config timefmt="%W" --><br>
<!--#echo var="DATE_LOCAL" -->
<br>
Week number of year as a decimal number: <!--#config timefmt="%W" -->
<!--#echo var="DATE_LOCAL" -->.
</body>
</html>
1.1 jakarta-tomcat-4.0/tester/web/golden/SSIConfig01.txt
Index: SSIConfig01.txt
===================================================================
errmsg:Sorry this command won't work.
1.1 jakarta-tomcat-4.0/tester/web/golden/SSIConfig03.txt
Index: SSIConfig03.txt
===================================================================
3,941
3.84 KB
1.1 jakarta-tomcat-4.0/tester/web/golden/SSIFsize02.txt
Index: SSIFsize02.txt
===================================================================
35 bytes