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

[Xen-changelog] [xen-unstable] xm-test block-create: use ext3 as filesystem



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1249470384 -3600
# Node ID 8f2ee72433ccaaa4be35a6d915341c664ec80a12
# Parent  e41d42ef4cd2968cd480063a3c82d91c38cb8c7d
xm-test block-create: use ext3 as filesystem

The current implementation uses ext2 for tests.  The tests currently
fail, because the current kernel does not support ext2 by default.
This patch creates an ext3 filesystem for the tests.

Signed-off-by: Andreas Florath <xen@xxxxxxxxxxxx>
---
 
tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py
 |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r e41d42ef4cd2 -r 8f2ee72433cc 
tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py
--- 
a/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py
     Wed Aug 05 12:04:39 2009 +0100
+++ 
b/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py
     Wed Aug 05 12:06:24 2009 +0100
@@ -1,7 +1,9 @@
 #!/usr/bin/python
 
 # Copyright (C) International Business Machines Corp., 2005
-# Author: Murillo F. Bernardes <mfb@xxxxxxxxxx>
+# Copyright (C) flonatel GmbH & Co. KG, 2009
+# Authors: Murillo F. Bernardes <mfb@xxxxxxxxxx>
+#          Andreas Florath <xen@xxxxxxxxxxxx>
 
 import re
 
@@ -30,7 +32,7 @@ except ConsoleError, e:
     saveLog(console.getHistory())
     FAIL(str(e))
     
-s, o = traceCommand("mke2fs -q -F /dev/ram1")
+s, o = traceCommand("mke2fs -j -q -F /dev/ram1")
 if s != 0:
     FAIL("mke2fs returned %i != 0" % s)
 

_______________________________________________
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®.