From 91803d88794be695da904acf46415b5a34f72f1e Mon Sep 17 00:00:00 2001 From: "Aneesh Kumar K.V" Date: Mon, 13 Aug 2007 15:56:25 +0530 Subject: [PATCH] Fix the resize inode test case With the new mke2fs changes the output of the command differs if we run mke2fs on a device that already have the file system. So erase the file system before running mke2fs so that output remain as expected. Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" --- tests/r_resize_inode/script | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/r_resize_inode/script b/tests/r_resize_inode/script index 5820fbe..aced9c4 100644 --- a/tests/r_resize_inode/script +++ b/tests/r_resize_inode/script @@ -37,6 +37,8 @@ $DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs >> $OUT echo "--------------------------------" >> $OUT +dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1 + echo mke2fs -q -F -O resize_inode -o Linux -b 1024 -g 1024 test.img 65536 >> $OUT $MKE2FS -q -F -O resize_inode -o Linux -b 1024 -g 1024 $TMPFILE 65536 2>&1 \ | sed -e '1d' | grep -v "automatically checked" | -- 1.8.3.1