From a843f44c51a7daf54922facf9ad4d32d586fdfad Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 3 Apr 2009 14:14:05 +0000 Subject: [PATCH] Fix test driver domain restore return value. --- ChangeLog | 4 ++++ src/test.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e1d32f662f..bfd23c00c8 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 a5422e9d84..a518737d65 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); -- GitLab