17 lines
389 B
Bash
17 lines
389 B
Bash
#!/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 ]
|
|
}
|