From 9a68591255747c82fd4ce99351bca6d43349cafa Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sun, 3 Sep 2023 19:58:18 -0600 Subject: implement gophernicus extensions for gophermaps --- gopher/gophermap/testdata/customlist.gophermap | 15 +++++++++++++++ gopher/gophermap/testdata/customlist_output.gophermap | 12 ++++++++++++ gopher/gophermap/testdata/file1 | 0 gopher/gophermap/testdata/file2 | 0 gopher/gophermap/testdata/file3.executablething | 0 gopher/gophermap/testdata/file4 | 0 6 files changed, 27 insertions(+) create mode 100644 gopher/gophermap/testdata/customlist.gophermap create mode 100644 gopher/gophermap/testdata/customlist_output.gophermap create mode 100644 gopher/gophermap/testdata/file1 create mode 100644 gopher/gophermap/testdata/file2 create mode 100644 gopher/gophermap/testdata/file3.executablething create mode 100644 gopher/gophermap/testdata/file4 (limited to 'gopher/gophermap/testdata') 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 diff --git a/gopher/gophermap/testdata/file2 b/gopher/gophermap/testdata/file2 new file mode 100644 index 0000000..e69de29 diff --git a/gopher/gophermap/testdata/file3.executablething b/gopher/gophermap/testdata/file3.executablething new file mode 100644 index 0000000..e69de29 diff --git a/gopher/gophermap/testdata/file4 b/gopher/gophermap/testdata/file4 new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3