Michał Kępień and Evan Hunt
c7d9100dcb
Rework dns_test_makezone()
...
The dns_test_makezone() helper function always assigns the created zone
to some view, which is not always necessary and complicates cleanup of
non-managed zones as they are required not to be assigned to any view.
Rework dns_test_makezone() in order to make it easier to use in unit
tests operating on non-managed zones. Use dns_name_fromstring() instead
of dns_name_fromtext() to simplify code. Do not use the CHECK() macro
and add comments to make code flow simpler to follow. Use
dns_test_makeview() instead of dns_view_create().
Adjust existing unit tests using this function so that they still pass.
(cherry picked from commit bfbeef3609 )
(cherry picked from commit f70c02d2c2 )
(cherry picked from commit d45ee39bae )
(cherry picked from commit d76fdb8718 )
2018-05-10 09:42:13 -07:00
..
2018-04-22 13:01:07 -07:00
2018-03-15 11:30:37 -07:00
2018-05-10 09:42:13 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-02 21:53:47 +00:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-04-06 14:27:23 +10:00
2018-05-03 17:17:38 +02:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2017-12-29 02:41:20 +00:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-04-22 13:01:08 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-04-06 14:27:23 +10:00
2018-04-06 14:27:23 +10:00
2018-03-15 09:09:15 +01:00
2018-03-15 09:09:15 +01:00
2018-03-15 09:09:15 +01:00
2018-04-06 14:27:23 +10:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 09:09:15 +01:00
2018-03-15 09:09:15 +01:00
2018-04-22 12:59:06 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 09:09:15 +01:00
2018-04-22 13:01:08 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 09:09:15 +01:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00
2018-04-25 12:24:36 -07:00
2018-03-15 11:30:37 -07:00
2018-03-15 11:30:37 -07:00