[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1406382514-8662-2-git-send-email-tytso@mit.edu>
Date: Sat, 26 Jul 2014 09:48:29 -0400
From: Theodore Ts'o <tytso@....edu>
To: Ext4 Developers List <linux-ext4@...r.kernel.org>
Cc: Theodore Ts'o <tytso@....edu>
Subject: [PATCH 1/6] tests: use e2fsck -f instead of -p for resize tests
Using e2sck -f provides better debugging information if things go
wrong.
Signed-off-by: Theodore Ts'o <tytso@....edu>
---
tests/scripts/resize_test | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/scripts/resize_test b/tests/scripts/resize_test
index a12e4b9..0633e0c 100755
--- a/tests/scripts/resize_test
+++ b/tests/scripts/resize_test
@@ -64,8 +64,8 @@ then
return 1
fi
-echo $FSCK -fp $TMPFILE >> $LOG 2>&1
-if ! $FSCK -fp $TMPFILE >> $LOG 2>&1
+echo $FSCK -fy $TMPFILE >> $LOG 2>&1
+if ! $FSCK -fy $TMPFILE >> $LOG 2>&1
then
dumpe2fs $TMPFILE >> $LOG
return 1
@@ -94,8 +94,8 @@ then
return 1
fi
-echo $FSCK -fp $TMPFILE >> $LOG 2>&1
-if ! $FSCK -fp $TMPFILE >> $LOG 2>&1
+echo $FSCK -fy $TMPFILE >> $LOG 2>&1
+if ! $FSCK -fy $TMPFILE >> $LOG 2>&1
then
dumpe2fs $TMPFILE >> $LOG
return 1
@@ -119,8 +119,8 @@ then
return 1
fi
-echo $FSCK -fp $TMPFILE >> $LOG 2>&1
-if ! $FSCK -fp $TMPFILE >> $LOG 2>&1
+echo $FSCK -fy $TMPFILE >> $LOG 2>&1
+if ! $FSCK -fy $TMPFILE >> $LOG 2>&1
then
dumpe2fs $TMPFILE >> $LOG
return 1
@@ -144,8 +144,8 @@ then
return 1
fi
-echo $FSCK -fp $TMPFILE >> $LOG 2>&1
-if ! $FSCK -fp $TMPFILE >> $LOG 2>&1
+echo $FSCK -fy $TMPFILE >> $LOG 2>&1
+if ! $FSCK -fy $TMPFILE >> $LOG 2>&1
then
dumpe2fs $TMPFILE >> $LOG
return 1
--
2.0.0
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists