forked from GNUsocial/gnu-social
17 lines
389 B
Plaintext
17 lines
389 B
Plaintext
|
#!/usr/bin/env bats
|
||
|
|
||
|
@test "http connection to manager web interface" {
|
||
|
curl -L http://web/manager/ | grep "Email address"
|
||
|
[ "$?" -eq 0 ]
|
||
|
}
|
||
|
|
||
|
@test "http connection to webmail interface" {
|
||
|
curl http://web/webmail/ | grep "jeboehm"
|
||
|
[ "$?" -eq 0 ]
|
||
|
}
|
||
|
|
||
|
@test "http connection to rspamd interface" {
|
||
|
curl http://web/rspamd/ | grep "Rspamd Web Interface"
|
||
|
[ "$?" -eq 0 ]
|
||
|
}
|