]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
check dns_test_begin result
authorMark Andrews <marka@isc.org>
Wed, 11 Nov 2015 11:38:39 +0000 (22:38 +1100)
committerMark Andrews <marka@isc.org>
Wed, 11 Nov 2015 11:38:39 +0000 (22:38 +1100)
lib/dns/tests/name_test.c

index 94eb5ef7d1b4fefed935707381afbb6225521252..3fcdb66e71a721f52111e1b7cb3d33b360c05182 100644 (file)
@@ -182,7 +182,7 @@ ATF_TC_BODY(compression, tc) {
        unsigned char plain[] = "\003yyy\003foo\0\003bar\003yyy\003foo\0\003"
                                "bar\003yyy\003foo\0\003xxx\003bar\003foo";
 
-       dns_test_begin(NULL, ISC_FALSE);
+       ATF_REQUIRE_EQ(dns_test_begin(NULL, ISC_FALSE), ISC_R_SUCCESS);;
 
        dns_name_init(&name1, NULL);
        r.base = plain1;