33 lines
1.6 KiB
Plaintext
33 lines
1.6 KiB
Plaintext
# list of integration tests
|
|
# format: run_test <TAG> <ARGS>
|
|
# <TAG> used as the root for all filenames (i.e., "expected/$TAG.txt")
|
|
# <ARGS> command-line arguments to test
|
|
|
|
# sends a message to the server and prints the response in a formatted way
|
|
run_test D_ping ""
|
|
|
|
run_test C_a_basic "-x 2 jmu.edu A"
|
|
run_test C_a_compressed "-x 46412 google.com A"
|
|
run_test C_a_localhost "-x 39713 localhost A"
|
|
run_test C_bad_domain "-x 22016 asdf A"
|
|
|
|
run_test B_a_multiple "-x 7059 example.com A"
|
|
run_test B_aaaa "-x 4801 example.com AAAA"
|
|
run_test B_jmu_ns "-x 23379 jmu.edu NS"
|
|
run_test B_jmu_mx "-x 13835 jmu.edu MX"
|
|
run_test B_double_compress "-x 42937 example.com NS"
|
|
run_test B_empty_domain "-x 57867 example.com MX"
|
|
run_test B_no_ipv6 "-x 54920 localhost AAAA"
|
|
|
|
run_test A_cname_basic "-x 49602 stu.cs.jmu.edu CNAME"
|
|
run_test A_cname_additional "-x 51120 www.jmu.edu CNAME"
|
|
run_test A_cname_a "-x 32412 stu A"
|
|
run_test A_jmu_soa "-x 62055 jmu.edu SOA"
|
|
run_test A_example_soa "-x 52173 example.com SOA"
|
|
run_test A_ptr_basic "-x 870 134.126.141.221 PTR"
|
|
run_test A_ptr_multiple "-x 57548 134.126.126.99 PTR"
|
|
run_test A_ptr_mixed "-x 45675 127.0.1.1 PTR"
|
|
run_test A_no_ptr "-x 56769 151.101.67.5 PTR"
|
|
run_test A_no_ipv6_authority "-x 61906 www.jmu.edu AAAA"
|
|
run_test A_no_ipv6_subauth "-x 10099 fac.cs.jmu.edu AAAA"
|