about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2024-02-21 05:40:24 -0600
committergennyble <gen@nyble.dev>2024-02-21 05:40:24 -0600
commitc4eff133ed2a2c3deb8fad322a430b3263b6e6ab (patch)
tree1b599aca6b0bcf9cfec047f1eee56270f8fa2b8c /test
downloadawake-c4eff133ed2a2c3deb8fad322a430b3263b6e6ab.tar.gz
awake-c4eff133ed2a2c3deb8fad322a430b3263b6e6ab.zip
initial commit; Filesytem and dirfiles
Diffstat (limited to 'test')
-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