aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test/runtest.sh
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-18 16:08:58 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-10-18 16:08:58 +0100
commit8917832a55d01ea649c7d6a0265ccb3177098280 (patch)
tree77b4fc98f56b2191732676f85de06f54e001fbc1 /tools/xm-test/runtest.sh
parentb77b89e80e3194eb162d1f42c747b8fd10374985 (diff)
downloadxen-8917832a55d01ea649c7d6a0265ccb3177098280.tar.gz
xen-8917832a55d01ea649c7d6a0265ccb3177098280.tar.bz2
xen-8917832a55d01ea649c7d6a0265ccb3177098280.zip
[TPM] Allow all tests of the xm test suite to be run when ACM
security is turned on in hypervisor. This is done by implicitly labeling VMs and resources if they have not been labeled through explicit calls. To allow the xm tests suite to label resources automatically, run ./configure --enable-full-labeling once. To turn it off, the '--enable-full-labeling' parameter should be omitted. Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools/xm-test/runtest.sh')
-rwxr-xr-xtools/xm-test/runtest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/xm-test/runtest.sh b/tools/xm-test/runtest.sh
index 9e11824b80..2bcc46110f 100755
--- a/tools/xm-test/runtest.sh
+++ b/tools/xm-test/runtest.sh
@@ -197,6 +197,8 @@ run=yes
unsafe=no
GROUPENTERED=default
+cp -f tests/security-acm/xm-test-security_policy.xml /etc/xen/acm-security/policies
+
# Resolve options
while [ $# -gt 0 ]
do