diff --git a/ChangeLog b/ChangeLog index e1d32f662f78b23717e1177c9d65dd3e04f294cf..bfd23c00c8a0a4e2058978e216453b5c63e939b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 3 10:13:38 EDT 2009 Cole Robinson + + * src/test.c: Fix test driver domain restore return value. + Fri Apr 3 10:02:57 EDT 2009 Cole Robinson * src/storage_backend.c: Fix sparse volume allocation reporting. diff --git a/src/test.c b/src/test.c index a5422e9d84066e495e78f39007a62fde521316c6..a518737d65de3d8106521fc5f03b7120e31ca794 100644 --- a/src/test.c +++ b/src/test.c @@ -1337,7 +1337,7 @@ static int testDomainRestore(virConnectPtr conn, event = virDomainEventNewFromObj(dom, VIR_DOMAIN_EVENT_STARTED, VIR_DOMAIN_EVENT_STARTED_RESTORED); - ret = dom->def->id; + ret = 0; cleanup: virDomainDefFree(def);