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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

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

Signed-off-by: Dan Smith <[hidden email]>

# HG changeset patch
# User [hidden email]
# 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 <[hidden email]>
-
-# 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: [hidden email]

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH][XM-TEST] Remove useless test 05_create

Ewan Mellor
On Tue, Nov 29, 2005 at 11:38:54AM -0800, Dan Smith wrote:

> This patch removes the 05_create_noroot_noram test, which doesn't do
> much of anything.
>
> Signed-off-by: Dan Smith <[hidden email]>

Applied, thank you.

Ewan.

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