From e8fd60b02d12cf9da73acfc010e95fae29a97f73 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 24 Mar 2016 10:32:22 -0700 Subject: [PATCH] [v9_10] fix unit test --- lib/dns/tests/rdata_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/dns/tests/rdata_test.c b/lib/dns/tests/rdata_test.c index 7a63ac5cc8..ddbf07a01c 100644 --- a/lib/dns/tests/rdata_test.c +++ b/lib/dns/tests/rdata_test.c @@ -105,7 +105,7 @@ ATF_TC_BODY(edns_client_subnet, tc) { 0x00, 0x08, 0x00, 0x04, 0x00, 0x01, 0x00, 0x00 }, - 8, ISC_TRUE + 8, ISC_FALSE }, { /* Option code family 2 (ipv6) , source 0, scope 0 */ @@ -113,7 +113,7 @@ ATF_TC_BODY(edns_client_subnet, tc) { 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x00 }, - 8, ISC_TRUE + 8, ISC_FALSE }, { /* extra octet */ @@ -222,9 +222,9 @@ ATF_TC_BODY(edns_client_subnet, tc) { &dctx, 0, &target1); dns_decompress_invalidate(&dctx); if (test_data[i].ok) - ATF_REQUIRE_EQ(result, ISC_R_SUCCESS); + ATF_CHECK_EQ(result, ISC_R_SUCCESS); else - ATF_REQUIRE(result != ISC_R_SUCCESS); + ATF_CHECK(result != ISC_R_SUCCESS); } }