Roger Pau Monne writes ("[PATCH OSSTEST v2 04/11] HostDB: introduce 
set_property"):
> And provide a helper in TestSupport to use it. This allows osstest to
> set host properties from test script themselves (instead of using
> the mg-hosts clu).
...
> +sub set_property($$$$) {
> +    my ($hd, $ho, $prop, $val) = @_;
> +    my $rmq = $dbh_tests->prepare(<<END);
> +        DELETE FROM resource_properties
> +               WHERE restype='host' and resname=? AND name=?

This is where the test for the intended blessing should occur IMO.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to