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

[Xen-changelog] Remove useless test 05_create_noroot_noram



# HG changeset patch
# User dan@xxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 989896f3bc456f0ea5acc0c6fa6263a8953797ba
# Parent  f4c57a520424fc8a4b1ad4c984bfd0c3fb2f79c9
Remove useless test 05_create_noroot_noram

diff -r f4c57a520424 -r 989896f3bc45 tools/xm-test/tests/create/Makefile.am
--- a/tools/xm-test/tests/create/Makefile.am    Wed Nov 30 11:41:33 2005
+++ b/tools/xm-test/tests/create/Makefile.am    Wed Nov 30 11:42:07 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 f4c57a520424 -r 989896f3bc45 
tools/xm-test/tests/create/05_create_noroot_noram_neg.py
--- a/tools/xm-test/tests/create/05_create_noroot_noram_neg.py  Wed Nov 30 
11:41:33 2005
+++ /dev/null   Wed Nov 30 11:42:07 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.")

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


 


Rackspace

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