1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-11-03 04:27:17 -05:00

Fix travis "testsuite" introduced in

4340e3c55b
This commit is contained in:
fosslinux 2020-02-05 19:55:38 +11:00
parent 4340e3c55b
commit 2cc8d204cb
No known key found for this signature in database
GPG Key ID: 7D7996D0C25B63A3
4 changed files with 23 additions and 19 deletions

View File

@ -1,15 +1,8 @@
iWelcome to Gophernicus! TITLE null.host 1
i _______ __ __ null.host 1
i| __|.-----.-----.| |--.-----.----.-----.|__|.----.--.--.----- null.host 1
i| | || _ | _ || | -__| _| || || __| | |__ -- null.host 1
i|_______||_____| __||__|__|_____|__| |__|__||__||____|_____|_____ null.host 1
i |__| null.host 1
iIf you can see this, it means that the installation of Gophernicus null.host 1
ion this system was successful. You may now add content to this null.host 1
idirectory and replace this page. null.host 1
i null.host 1
iGeneric information: null.host 1
i null.host 1
iServer configuration: null.host 1
i null.host 1
iA null.host 1
iLine null.host 1
iRight null.host 1
iHere null.host 1
iFor null.host 1
iTests null.host 1
0file file localhost 70
.

View File

@ -1,5 +0,0 @@
#!/usr/bin/expect
spawn "/usr/bin/gophernicus"
sleep 0.05
expect ""
send "\n"

7
.travis/test.gophermap Normal file
View File

@ -0,0 +1,7 @@
A
Line
Right
Here
For
Tests
0file file localhost 70

View File

@ -1,5 +1,14 @@
#!/bin/bash
if uname | grep -q 'Darwin' ; then
# I do not have hardware to make this work on and am uninterested in
# making another testsuite for travis Macs at this time
exit 0
fi
sudo cp .travis/test.gophermap /var/gopher/gophermap
sudo chmod 644 /var/gopher/gophermap
echo -e "\n" | gophernicus -nf -nu -nv -nx -nf -nd > test.output
if ! cmp .travis/test.answer test.output ; then
exit 1