From: Stefan Berger Subject: [PATCH] [Xm-test] Remove a policy reset from acm test case Date: Thu, 03 Jul 2008 06:24:46 -0400 Message-ID: <1215080686.1990.6.camel@gsal-3.watson.ibm.com> Reply-To: stefanb@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-geBV8TDSsYkiVtuil+Eu" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-geBV8TDSsYkiVtuil+Eu Content-Type: text/plain Content-Transfer-Encoding: 7bit Remove the resetting of the policy from this point in the test case since the new default policy has the '__UNLABELED__' label, which is not expected in subsequent checks. Signed-off-by; Stefan Berger --=-geBV8TDSsYkiVtuil+Eu Content-Disposition: attachment; filename=acm_test_10_remove_policy_reset.diff Content-Type: text/x-patch; name=acm_test_10_remove_policy_reset.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py =================================================================== --- root.orig/xen-unstable.hg/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py +++ root/xen-unstable.hg/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py @@ -297,11 +297,6 @@ except DomainError, e: # Stop red domain domain_red.destroy() -# reset the policy - should not work -s, o = traceCommand('xm resetpolicy') -if not s: - FAIL("Could reset the policy.") - # Stop unlabeled domain domain_ul.destroy() --=-geBV8TDSsYkiVtuil+Eu Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-geBV8TDSsYkiVtuil+Eu--