test: add test case for cname

This commit is contained in:
Nick Peng
2023-03-14 23:52:10 +08:00
parent 12e7bc752c
commit cf52eeacc9
8 changed files with 134 additions and 34 deletions

View File

@@ -745,11 +745,10 @@ int main(int argc, char *argv[])
goto errout;
}
atexit(_smartdns_exit);
smartdns_test_notify(1);
return _smartdns_run();
ret = _smartdns_run();
_smartdns_exit();
return ret;
errout:
smartdns_test_notify(2);
return 1;