Skip to contentSkip to conversation

Remove useless test 05_create

PATCH Applied Dan Smith 2 participants 2 messages Nov 29, 2005 – Nov 30, 2005

lore
Share & tools
lore

Dan Smith

author
#0 lore raw

PATCH 1/1 Remove useless test 05_create

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

# HG changeset patch
# User [email protected]
# Node ID 151ce96c7cb03ce3981ecdb849bf281af03eeade # Parent 446a1e18553ab5857f73120770734904003e9aac Remove useless test 05_create_noroot_noram

tools/xm-test/tests/create/Makefile.am +0 -1
diff -r 446a1e18553a -r 151ce96c7cb0 tools/xm-test/tests/create/Makefile.am
@@ -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 \
tools/xm-test/tests/create/05_create_noroot_noram_neg.py deleted +0 -26
diff -r 446a1e18553a -r 151ce96c7cb0 tools/xm-test/tests/create/05_create_noroot_noram_neg.py
@@ -1,26 +0,0 @@
-#!/usr/bin/python
-
-# Copyright (C) International Business Machines Corp., 2005
-# Author: Li Ge <[email protected]>
-
-# 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.")
Signature · 4 lines
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel