mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
xm-test: various fixes
- recently I added an other_config field to the VTPM record which now needs to be accounted for otherwise the test determines a bad key - the dry-run command was throwing a different type of exception (ACMError) than what was caught (XSMError) - the tests based on the raw Xen-API need to build the PV_args parameters from the old 'root' and 'extra' parameters. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
1 parent
78c593d291
commit
61d0b64c6c
4 files changed
+15
-5
No files matched your search
@@ -1228,7 +1228,7 @@ def config_security_check(config, verbose):
|
||||
if verbose:
|
||||
print " %s: PERMITTED" % (resource)
|
||||
|
||||
except security.XSMError:
|
||||
except security.ACMError:
|
||||
print " %s: DENIED" % (resource)
|
||||
(poltype, res_label, res_policy) = security.get_res_label(resource)
|
||||
if not res_label:
|
||||
|
||||