From 38ff3807b3b97da22006b5bdcf03fdfaaa4b0582 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Thu, 7 Sep 2023 12:36:17 -0600 Subject: all the gopher CGI handlers to support gophernicus behaviors --- gopher/gophermap/testdata/customlist_output.gophermap | 4 +++- gopher/gophermap/testdata/file4 | 0 gopher/gophermap/testdata/file4.txt | 0 gopher/gophermap/testdata/subdir/gophertag | 1 + gopher/gophermap/testdata/subdir2/gophermap | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) delete mode 100644 gopher/gophermap/testdata/file4 create mode 100644 gopher/gophermap/testdata/file4.txt create mode 100644 gopher/gophermap/testdata/subdir/gophertag create mode 100644 gopher/gophermap/testdata/subdir2/gophermap (limited to 'gopher/gophermap/testdata') diff --git a/gopher/gophermap/testdata/customlist_output.gophermap b/gopher/gophermap/testdata/customlist_output.gophermap index 1a96644..e5cc99d 100644 --- a/gopher/gophermap/testdata/customlist_output.gophermap +++ b/gopher/gophermap/testdata/customlist_output.gophermap @@ -8,5 +8,7 @@ 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 +0file4.txt /file4.txt localhost.localdomain 70 +1subdir title /subdir localhost.localdomain 70 +1subdir2 title /subdir2 localhost.localdomain 70 . diff --git a/gopher/gophermap/testdata/file4 b/gopher/gophermap/testdata/file4 deleted file mode 100644 index e69de29..0000000 diff --git a/gopher/gophermap/testdata/file4.txt b/gopher/gophermap/testdata/file4.txt new file mode 100644 index 0000000..e69de29 diff --git a/gopher/gophermap/testdata/subdir/gophertag b/gopher/gophermap/testdata/subdir/gophertag new file mode 100644 index 0000000..73a248e --- /dev/null +++ b/gopher/gophermap/testdata/subdir/gophertag @@ -0,0 +1 @@ +subdir title diff --git a/gopher/gophermap/testdata/subdir2/gophermap b/gopher/gophermap/testdata/subdir2/gophermap new file mode 100644 index 0000000..bba9538 --- /dev/null +++ b/gopher/gophermap/testdata/subdir2/gophermap @@ -0,0 +1 @@ +!subdir2 title -- cgit v1.2.3