ia64/xen-unstable

view tools/xm-test/tests/security-acm/acm_utils.py @ 16565:c3286cb2fc59

xm-test, acm: fixes an API call due to recent changes.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Dec 08 15:47:31 2007 +0000 (2007-12-08)
parents 5255eac35270
children
line source
1 #!/usr/bin/python
3 # Copyright (C) International Business Machines Corp., 2006
4 # Author: Stefan Berger <stefanb@us.ibm.com>
6 from XmTestLib import *
7 from XmTestLib.acm import *
9 testpolicy = "xm-test"
10 vmconfigfile = "/tmp/xm-test.conf"
12 if not isACMEnabled():
13 SKIP("Not running this test since ACM not enabled.")
15 setCurrentPolicy(testpolicy)
16 ACMSetPolicy()