http://www.freeipa.org/page/V4/Forward_zones
ipa_dnsforwardzone_add
ipa_dnsforwardzone_mod
ipa_dnsforwardzone_show
ipa_dnsforwardzone_find
ipa_dnsforwardzone_del
ipa_dnsforwardzone_disable
ipa_dnsforwardzone_enable
ipa_dnsforwardzone_add-permission
ipa_dnsforwardzone_remove-permission
ipa_dnsforwardzone_norecords
Already covered by positive test?:
fail to find forward zone with --forward-policy=none fail to find forward zone with --forward-policy=only fail to find forward zone with --forward-policy=first
Success is expected, same behavior is in 3.3.5:
fail to enable already enabled forward zone? fail to disable already disabled forward zone?
Extra tests already covered by test suite:
Try to modify master zone %r using dnsforwardzone-mod (FAIL) Try to delete master zone %r using dnsforwardzone-del (FAIL) Try to retrieve master zone %r using dnsforwardzone-show (FAIL) Try to add per-zone permission for forward zone %r using dnszone-add-permission (FAIL) Try to remove per-zone permission for forward zone %r using dnszone-remove-permission (FAIL) Try to add per-zone permission for master zone %r using dnsforwardzone-add-permission (FAIL) Try to remove per-zone permission for master zone %r using dnsforwardzone-remove-permission (FAIL) Try to remove per-zone permission for master zone %r using dnsforwardzone-remove-permission (FAIL) Try to disable forward zone %r using dnszone-disable (FAIL) Try to enable forward zone %r using dnszone-disable (FAIL) Try to enable zone %r using dnsforwardzone-disable (FAIL) Try to retrieve record %r in forward zone %r (FAIL) Try to delete record %r in forward zone %r (FAIL) Try to create forward zone %r with wildcard domain name (FAIL) Modify forward policy from only to first (SUCCESS) Modify forward policy from first to only (SUCCESS)
Replying to [comment:4 mbasti]:
Already covered by positive test?: {{{ fail to find forward zone with --forward-policy=none fail to find forward zone with --forward-policy=only fail to find forward zone with --forward-policy=first }}}
These I meant to cover the case where there is no zone matching the forward-policy for each case. So, what happens when you do a find with policy=none if only forward zone with policy=only?
Success is expected, same behavior is in 3.3.5: {{{ fail to enable already enabled forward zone? fail to disable already disabled forward zone? }}}
Should these then be changed to be tests expected to pass then?
enable already enabled forward zone disable already disabled forward zone
I will add these additional tests into patch then
master:
ipa-4-1:
Metadata Update from @spoore: - Issue assigned to mbasti - Issue set to the milestone: FreeIPA 4.1.3
Login to comment on this ticket.