This commit is contained in:
Kameron Kenny 2024-12-20 15:06:26 -05:00
parent 60edcd4c99
commit e592c39671
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#!/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}"
}
# Only test at primary NS
@test "Test SOA Record @ns1: ${domain}" {
run _check_soa_record_at_ns1
assert_output --partial "${serial}"
}

View File

@ -0,0 +1,12 @@
#!/usr/bin/env bats
load 'local-setup'
_local_setup
load 'helper'
@test "Test A Record: ${domain}" {
run _check_a_record
assert_output --partial "${ip}"
}

View File

@ -0,0 +1,12 @@
#!/usr/bin/env bats
load 'local-setup'
_local_setup
load 'helper'
@test "Test A Record: ${domain}" {
run _check_a_record
assert_output --partial "${ip}"
}

View File

@ -0,0 +1,12 @@
#!/usr/bin/env bats
load 'local-setup'
_local_setup
load 'helper'
@test "Test A Record: ${domain}" {
run _check_a_record
assert_output --partial "${ip}"
}