WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Fix xm-test python import after XSM secur

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix xm-test python import after XSM security changes.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Sep 2007 09:13:57 -0700
Delivery-date: Fri, 07 Sep 2007 10:14:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1189098604 -3600
# Node ID 9813c9c79055cf1d779bd2723b492a1e2f2bcc71
# Parent  49b67fdefcd6e1ffb70be155579dfbd7b8a38767
Fix xm-test python import after XSM security changes.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/xm-test/lib/XmTestLib/acm.py                             |    2 +-
 tools/xm-test/tests/security-acm/01_security-acm_basic.py      |    2 +-
 tools/xm-test/tests/security-acm/07_security-acm_pol_update.py |    3 ++-
 tools/xm-test/tests/security-acm/08_security-acm_xapi.py       |    3 ++-
 tools/xm-test/tests/security-acm/09_security-acm_pol_update.py |    3 ++-
 5 files changed, 8 insertions(+), 5 deletions(-)

diff -r 49b67fdefcd6 -r 9813c9c79055 tools/xm-test/lib/XmTestLib/acm.py
--- a/tools/xm-test/lib/XmTestLib/acm.py        Thu Sep 06 18:05:18 2007 +0100
+++ b/tools/xm-test/lib/XmTestLib/acm.py        Thu Sep 06 18:10:04 2007 +0100
@@ -18,7 +18,7 @@
 
 """
 from Test import *
-from xen.util import security
+import xen.util.xsm.xsm as security
 from xen.xm.main import server
 from xen.util import xsconstants
 import re
diff -r 49b67fdefcd6 -r 9813c9c79055 
tools/xm-test/tests/security-acm/01_security-acm_basic.py
--- a/tools/xm-test/tests/security-acm/01_security-acm_basic.py Thu Sep 06 
18:05:18 2007 +0100
+++ b/tools/xm-test/tests/security-acm/01_security-acm_basic.py Thu Sep 06 
18:10:04 2007 +0100
@@ -14,7 +14,7 @@
 # - resources
 
 from XmTestLib import *
-from xen.util import security
+import xen.util.xsm.xsm as security
 from xen.util import xsconstants
 import commands
 import os
diff -r 49b67fdefcd6 -r 9813c9c79055 
tools/xm-test/tests/security-acm/07_security-acm_pol_update.py
--- a/tools/xm-test/tests/security-acm/07_security-acm_pol_update.py    Thu Sep 
06 18:05:18 2007 +0100
+++ b/tools/xm-test/tests/security-acm/07_security-acm_pol_update.py    Thu Sep 
06 18:10:04 2007 +0100
@@ -9,7 +9,8 @@ from XmTestLib.XenAPIDomain import XmTes
 from XmTestLib.XenAPIDomain import XmTestAPIDomain
 from XmTestLib import *
 from xen.xend import XendAPIConstants
-from xen.util import acmpolicy, security, xsconstants
+import xen.util.xsm.xsm as security
+from xen.util import acmpolicy, xsconstants
 from xen.util.acmpolicy import ACMPolicy
 from xen.xend.XendDomain import DOM0_UUID
 from XmTestLib.acm import *
diff -r 49b67fdefcd6 -r 9813c9c79055 
tools/xm-test/tests/security-acm/08_security-acm_xapi.py
--- a/tools/xm-test/tests/security-acm/08_security-acm_xapi.py  Thu Sep 06 
18:05:18 2007 +0100
+++ b/tools/xm-test/tests/security-acm/08_security-acm_xapi.py  Thu Sep 06 
18:10:04 2007 +0100
@@ -9,7 +9,8 @@ from XmTestLib.XenAPIDomain import XmTes
 from XmTestLib.XenAPIDomain import XmTestAPIDomain
 from XmTestLib import *
 from xen.xend import XendAPIConstants
-from xen.util import acmpolicy, security, xsconstants
+import xen.util.xsm.xsm as security
+from xen.util import acmpolicy, xsconstants
 import commands
 import os
 
diff -r 49b67fdefcd6 -r 9813c9c79055 
tools/xm-test/tests/security-acm/09_security-acm_pol_update.py
--- a/tools/xm-test/tests/security-acm/09_security-acm_pol_update.py    Thu Sep 
06 18:05:18 2007 +0100
+++ b/tools/xm-test/tests/security-acm/09_security-acm_pol_update.py    Thu Sep 
06 18:10:04 2007 +0100
@@ -10,7 +10,8 @@ from XmTestLib.acm import *
 from XmTestLib.acm import *
 from XmTestLib import *
 from xen.xend import XendAPIConstants
-from xen.util import security, xsconstants
+import xen.util.xsm.xsm as security
+from xen.util import xsconstants
 from xen.util.acmpolicy import ACMPolicy
 from xen.xend.XendDomain import DOM0_UUID
 import base64

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix xm-test python import after XSM security changes., Xen patchbot-unstable <=