update tests and try '--gather-test-outputs-in' for results output instead of redirection.
This commit is contained in:
parent
e2ecee732d
commit
f78649d47e
|
@ -0,0 +1,26 @@
|
||||||
|
#!/usr/bin/env bats
|
||||||
|
|
||||||
|
load 'local-setup'
|
||||||
|
_local_setup
|
||||||
|
|
||||||
|
load 'helper'
|
||||||
|
|
||||||
|
@test "Test A Record: ${domain}" {
|
||||||
|
run _check_a_record
|
||||||
|
assert_output --partial "${ip}"
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "Test SOA Record: ${domain}" {
|
||||||
|
run _check_soa_record
|
||||||
|
assert_output --partial "${serial}"
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "Test SOA Record @ns1: ${domain}" {
|
||||||
|
run _check_soa_record_at_ns1
|
||||||
|
assert_output --partial "${serial}"
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "Test SOA Record @ns2: ${domain}" {
|
||||||
|
run _check_soa_record_at_ns2
|
||||||
|
assert_output --partial "${serial}"
|
||||||
|
}
|
Loading…
Reference in New Issue