Signed-off-by: Euan Harris <euan.harris@citrix.com>
It should have returned successfully.
*/
close(fd);
+ unlink(template);
printf("libxl_domain_suspend returned %d\n",
ev.u.callback_event.rc);
assert(ev.u.callback_event.rc == 0);
/* The API call's return code should indicate that it was cancelled */
wait_for(tc, EV_LIBXL_CALLBACK, &ev);
close(fd);
+ printf("Removing %s\n", template);
+ unlink(template);
printf("libxl_domain_suspend returned %d\n",
ev.u.callback_event.rc);
assert(ev.u.callback_event.rc == ERROR_CANCELLED