[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH][XM-TEST] Remove useless test 05_create


  • To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Dan Smith <danms@xxxxxxxxxx>
  • Date: Tue, 29 Nov 2005 11:38:54 -0800
  • Delivery-date: Tue, 29 Nov 2005 19:38:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

This patch removes the 05_create_noroot_noram test, which doesn't do
much of anything.

Signed-off-by: Dan Smith <danms@xxxxxxxxxx>
# HG changeset patch
# User dan@xxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 151ce96c7cb03ce3981ecdb849bf281af03eeade
# Parent  446a1e18553ab5857f73120770734904003e9aac
Remove useless test 05_create_noroot_noram

diff -r 446a1e18553a -r 151ce96c7cb0 tools/xm-test/tests/create/Makefile.am
--- a/tools/xm-test/tests/create/Makefile.am    Tue Nov 29 18:04:56 2005
+++ b/tools/xm-test/tests/create/Makefile.am    Tue Nov 29 18:27:18 2005
@@ -4,7 +4,6 @@
        02_create_noparm_neg.test \
        03_create_badparm_neg.test \
        04_create_conflictname_neg.test \
-       05_create_noroot_noram_neg.test \
        06_create_mem_neg.test \
        07_create_mem64_pos.test \
        08_create_mem128_pos.test \
diff -r 446a1e18553a -r 151ce96c7cb0 
tools/xm-test/tests/create/05_create_noroot_noram_neg.py
--- a/tools/xm-test/tests/create/05_create_noroot_noram_neg.py  Tue Nov 29 
18:04:56 2005
+++ /dev/null   Tue Nov 29 18:27:18 2005
@@ -1,26 +0,0 @@
-#!/usr/bin/python
-
-# Copyright (C) International Business Machines Corp., 2005
-# Author: Li Ge <lge@xxxxxxxxxx>
-
-# Test description: 
-# Negative Test:
-# Test for creating domain with no ramdisk and no root. Verify fail.
-
-import sys
-import re
-import time
-
-from XmTestLib import *
-
-status, output = traceCommand("xm create /dev/null name=NOROOT memory=64 
kernel=%s" % getDefaultKernel())
-
-# sleep a while to wait for the kernel fails to mount root and NOROOT
-# goes away from the xm list
-time.sleep(15)
-
-eyecatcher = "NOROOT"
-status, output = traceCommand("xm list")
-where = output.find(eyecatcher)
-if where != -1:
-       FAIL("xm create test05 passed with no root and no ramdisk. Expected 
result: Fail.")
-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.