check-uninsane: fix ftp test to work when invoked from the wan
This commit is contained in:
parent
c1b3629dcf
commit
ded5f6560d
|
@ -104,8 +104,10 @@ lftpgetIntoTmp() {
|
|||
rm -f "$localName"
|
||||
lftpget "$url"
|
||||
)
|
||||
local contents=$(cat "/tmp/$localName")
|
||||
test "$contents" = "automated tests read this file to probe connectivity"
|
||||
}
|
||||
check "ftp://uninsane.org" lftpgetIntoTmp ftp://uninsane.org/README.md README.md
|
||||
check "ftps://ftp.uninsane.org" lftpgetIntoTmp ftps://ftp.uninsane.org/pub/test test
|
||||
|
||||
echo ""
|
||||
echo "systemctl --failed:"
|
||||
|
|
Loading…
Reference in New Issue
Block a user