summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-26 03:07:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:02 -0500
commit98046f037200938bb2532e3c480946653a0b53bd (patch)
treedce508c7fa0bad57e78594f420c4be2710f21d2c
parent44d2a46580da126866f704e5cf9b6599635f5f01 (diff)
downloadsamba-98046f037200938bb2532e3c480946653a0b53bd.tar.gz
samba-98046f037200938bb2532e3c480946653a0b53bd.tar.xz
samba-98046f037200938bb2532e3c480946653a0b53bd.zip
r6988: added a test of esp include() calls
(This used to be commit a1eb98722d935b838b2ffaf5d329456d655c7b78)
-rw-r--r--swat/esptest/include.html16
-rw-r--r--swat/esptest/index.html2
2 files changed, 17 insertions, 1 deletions
diff --git a/swat/esptest/include.html b/swat/esptest/include.html
new file mode 100644
index 00000000000..b488631e836
--- /dev/null
+++ b/swat/esptest/include.html
@@ -0,0 +1,16 @@
+<HTML>
+<TITLE>
+Samba4 ESP test
+</TITLE>
+<BODY>
+including /scripting/test.ejs<p>
+<% include("/scripting/test.ejs"); %>
+calling a function from test.ejs ...<p>
+<% showArray("request", request); %>
+
+<form name="Cancel" method="POST" action="index.html">
+ <input name="submit" type="submit" value="Cancel"><br>
+</form>
+
+</BODY>
+</HTML>
diff --git a/swat/esptest/index.html b/swat/esptest/index.html
index 957e7d94fa7..0c64b4ffcfb 100644
--- a/swat/esptest/index.html
+++ b/swat/esptest/index.html
@@ -1,5 +1,5 @@
<%
- var tests = new Array("formtest", "showvars");
+ var tests = new Array("formtest", "showvars", "include");
%>
<HTML>