Rename main.gph into something.txt because gph could be understood as a filetype requiring a server transformation before delivering it

This commit is contained in:
Solene Rapenne 2020-12-05 20:20:03 +01:00
parent 3bc574eee8
commit 3dd7fadd31
2 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if [ $? -ne 0 ]; then
fi
# serving a file
OUT=$(printf "/main.gph\r\n" | ../khan -d var/gopher/ | tee /dev/stderr | $MD5)
OUT=$(printf "/something.txt\r\n" | ../khan -d var/gopher/ | tee /dev/stderr | $MD5)
if ! [ $OUT = "979481230b482d033c5a6e6c566c0322" ] ; then echo "error" ; exit 1 ; fi
# default gophermap file with nothing