about summary refs log tree commit diff
path: root/test/serve
diff options
context:
space:
mode:
Diffstat (limited to 'test/serve')
-rw-r--r--test/serve/home.html7
-rw-r--r--test/serve/one/dotone.html13
-rw-r--r--test/serve/one/eleven/eleven.html10
-rw-r--r--test/serve/one/one.html12
-rw-r--r--test/serve/two/two.html9
5 files changed, 51 insertions, 0 deletions
diff --git a/test/serve/home.html b/test/serve/home.html
new file mode 100644
index 0000000..94e2d40
--- /dev/null
+++ b/test/serve/home.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+	<body>
+		<h1>Webroot home.html</h1>
+		<a href="one/">one</a>
+	</body>
+</html>
\ No newline at end of file
diff --git a/test/serve/one/dotone.html b/test/serve/one/dotone.html
new file mode 100644
index 0000000..d880da2
--- /dev/null
+++ b/test/serve/one/dotone.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+
+<body>
+	<h1>one/dotone.html</h1>
+	<p>
+		just a file in the <code>one/</code> directory.
+	</p>
+	<a href="..">back</a><br />
+	<a href=".">dirfile</a>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/test/serve/one/eleven/eleven.html b/test/serve/one/eleven/eleven.html
new file mode 100644
index 0000000..c739c53
--- /dev/null
+++ b/test/serve/one/eleven/eleven.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+
+<body>
+	<h1>One/eleven/eleven.html</h1>
+	<a href="..">one</a>
+	<a href="../..">home</a>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/test/serve/one/one.html b/test/serve/one/one.html
new file mode 100644
index 0000000..2eef7b1
--- /dev/null
+++ b/test/serve/one/one.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+
+<body>
+	<h1>One/one.html</h1>
+	<p>
+		this is the file served for the <code>one/</code> directory.
+	</p>
+	<a href="dotone.html">dotone.html</a>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/test/serve/two/two.html b/test/serve/two/two.html
new file mode 100644
index 0000000..4fe965b
--- /dev/null
+++ b/test/serve/two/two.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+
+<body>
+	<h1>two/two.html</h1>
+	<a href="..">home</a>
+</body>
+
+</html>
\ No newline at end of file