diff --git a/test/integration/dns/in.thelinuxpro.net/tests.bat b/test/integration/dns/in.thelinuxpro.net/tests.bat new file mode 100644 index 0000000..53b4976 --- /dev/null +++ b/test/integration/dns/in.thelinuxpro.net/tests.bat @@ -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}" +}