diff options
author | Ewan Mellor <ewan@xensource.com> | 2006-10-24 14:47:41 +0100 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2006-10-24 14:47:41 +0100 |
commit | 64dd1b77aeb73819217b98a0682728d1369dc562 (patch) | |
tree | ffb551b14eb14473aef01d11ff628ca001065e39 /tools/xm-test/runtest.sh | |
parent | d2e25ca823455d96c44b144ca9b7c4513259f096 (diff) | |
download | xen-64dd1b77aeb73819217b98a0682728d1369dc562.tar.gz xen-64dd1b77aeb73819217b98a0682728d1369dc562.tar.bz2 xen-64dd1b77aeb73819217b98a0682728d1369dc562.zip |
This puts two small fixes in the xm-test suite:
- it turns off verbose mode of the ACM module
- copies the test policy to the policies directory only if the directory
has been created
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools/xm-test/runtest.sh')
-rwxr-xr-x | tools/xm-test/runtest.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/xm-test/runtest.sh b/tools/xm-test/runtest.sh index 623598cd20..7008972fae 100755 --- a/tools/xm-test/runtest.sh +++ b/tools/xm-test/runtest.sh @@ -199,7 +199,10 @@ run=yes unsafe=no GROUPENTERED=default -cp -f tests/security-acm/xm-test-security_policy.xml /etc/xen/acm-security/policies +if [ -d /etc/xen/acm-security/policies ]; then + cp -f tests/security-acm/xm-test-security_policy.xml \ + /etc/xen/acm-security/policies +fi # Resolve options while [ $# -gt 0 ] |