Add missing stubs to securityselinuxhelper.c

Make sure we override both the raw and non-raw stubs in
securityselinuxhelper.c. Also add diagnostics if
securityselinuxlabeltest fails a test item
This commit is contained in:
Daniel P. Berrange
2013-01-14 18:33:44 +00:00
parent 688b3ecfe9
commit 7184af1364
2 changed files with 29 additions and 2 deletions

View File

@@ -300,6 +300,10 @@ cleanup:
VIR_FREE(files[i].context);
}
VIR_FREE(files);
if (ret < 0 && virTestGetVerbose()) {
virErrorPtr err = virGetLastError();
fprintf(stderr, "%s\n", err ? err->message : "<unknown>");
}
return ret;
}