From efc6741a48af59f6425ad6aeb7d9188a889dad3c Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 5 Aug 2009 12:06:24 +0100 Subject: 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 --- .../09_block_attach_and_dettach_device_check_data_pos.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools/xm-test') diff --git a/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py b/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py index b97b70c499..9ac635ac0f 100644 --- a/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py +++ b/tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py @@ -1,7 +1,9 @@ #!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 -# Author: Murillo F. Bernardes +# Copyright (C) flonatel GmbH & Co. KG, 2009 +# Authors: Murillo F. Bernardes +# Andreas Florath 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) -- cgit v1.2.3