summaryrefslogtreecommitdiff
path: root/gopher/gophermap/testdata
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-09-03 19:58:18 -0600
committertjpcc <tjp@ctrl-c.club>2023-09-03 19:58:18 -0600
commit9a68591255747c82fd4ce99351bca6d43349cafa (patch)
tree06928eeb617b954a80bbdab2e6164952d47e13bf /gopher/gophermap/testdata
parent5befdc9c851f285000c15abc01a08010c719b307 (diff)
implement gophernicus extensions for gophermaps
Diffstat (limited to 'gopher/gophermap/testdata')
-rw-r--r--gopher/gophermap/testdata/customlist.gophermap15
-rw-r--r--gopher/gophermap/testdata/customlist_output.gophermap12
-rw-r--r--gopher/gophermap/testdata/file10
-rw-r--r--gopher/gophermap/testdata/file20
-rw-r--r--gopher/gophermap/testdata/file3.executablething0
-rw-r--r--gopher/gophermap/testdata/file40
6 files changed, 27 insertions, 0 deletions
diff --git a/gopher/gophermap/testdata/customlist.gophermap b/gopher/gophermap/testdata/customlist.gophermap
new file mode 100644
index 0000000..0d0c882
--- /dev/null
+++ b/gopher/gophermap/testdata/customlist.gophermap
@@ -0,0 +1,15 @@
+!This is the document title
+
+These should be info-message lines since they
+have no tab characters anywhere.
+
+# This is a comment!
+
+-file1
+-file2
+
+:executablething=9
+
+*
+
+this is unreachable
diff --git a/gopher/gophermap/testdata/customlist_output.gophermap b/gopher/gophermap/testdata/customlist_output.gophermap
new file mode 100644
index 0000000..1a96644
--- /dev/null
+++ b/gopher/gophermap/testdata/customlist_output.gophermap
@@ -0,0 +1,12 @@
+i /customlist.gophermap localhost.localdomain 70
+iThese should be info-message lines since they /customlist.gophermap localhost.localdomain 70
+ihave no tab characters anywhere. /customlist.gophermap localhost.localdomain 70
+i /customlist.gophermap localhost.localdomain 70
+i /customlist.gophermap localhost.localdomain 70
+i /customlist.gophermap localhost.localdomain 70
+i /customlist.gophermap localhost.localdomain 70
+1This is the document title /customlist.gophermap localhost.localdomain 70
+1customlist_output.gophermap /customlist_output.gophermap localhost.localdomain 70
+9file3.executablething /file3.executablething localhost.localdomain 70
+0file4 /file4 localhost.localdomain 70
+.
diff --git a/gopher/gophermap/testdata/file1 b/gopher/gophermap/testdata/file1
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gopher/gophermap/testdata/file1
diff --git a/gopher/gophermap/testdata/file2 b/gopher/gophermap/testdata/file2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gopher/gophermap/testdata/file2
diff --git a/gopher/gophermap/testdata/file3.executablething b/gopher/gophermap/testdata/file3.executablething
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gopher/gophermap/testdata/file3.executablething
diff --git a/gopher/gophermap/testdata/file4 b/gopher/gophermap/testdata/file4
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gopher/gophermap/testdata/file4