Check filesystem after log replay and abort test if errors found
authorLachlan McIlroy <lachlan@sgi.com>
Thu, 20 Sep 2007 06:13:47 +0000 (06:13 +0000)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 20 Sep 2007 06:13:47 +0000 (06:13 +0000)
Merge of master-melb:xfs-cmds:29730a by kenmcd.

  Check filesystem after log replay and abort test if errors found

137
138
139
140
179
180

diff --git a/137 b/137
index 7e6340a0c054de760068f98424820105100ce5cb..4dbf847412cdf6fac0a5b23a5b8745b694f67a0e 100755 (executable)
--- a/137
+++ b/137
@@ -57,6 +57,13 @@ src/godown $SCRATCH_MNT
 
 umount $SCRATCH_MNT
 _scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+       echo error detected in filesystem
+       exit
+fi
+_scratch_mount
 
 # check file size and contents
 i=1;
diff --git a/138 b/138
index eb3a57a5fa5d03d7c30998131cc178cee46215e9..7cf9020248ffb1f1b763cfc70800a9d4f42452d2 100755 (executable)
--- a/138
+++ b/138
@@ -63,6 +63,13 @@ src/godown $SCRATCH_MNT
 
 umount $SCRATCH_MNT
 _scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+       echo error detected in filesystem
+       exit
+fi
+_scratch_mount
 
 # check file size and contents
 i=1;
diff --git a/139 b/139
index 24a4417edb8590c55a73240970e7c1cabf07e63b..480527998630e303899c170f8922510cdebbce12 100755 (executable)
--- a/139
+++ b/139
@@ -63,6 +63,13 @@ src/godown $SCRATCH_MNT
 
 umount $SCRATCH_MNT
 _scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+       echo error detected in filesystem
+       exit
+fi
+_scratch_mount
 
 # check file size and contents
 i=1;
diff --git a/140 b/140
index 91479660d657d8a8ab8b51031141f1c0c21be3d3..797efc4e3e5231201b161011e92b1df929860db0 100755 (executable)
--- a/140
+++ b/140
@@ -63,6 +63,13 @@ src/godown $SCRATCH_MNT
 
 umount $SCRATCH_MNT
 _scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+       echo error detected in filesystem
+       exit
+fi
+_scratch_mount
 
 # check file size and contents
 i=1;
diff --git a/179 b/179
index ac0bbd585bbf2bed24b1e10a782a5adaa7ddb65e..feeddccef00c5f108c9b5bfc522e0abc729cb995 100644 (file)
--- a/179
+++ b/179
@@ -85,6 +85,13 @@ done
 src/godown $SCRATCH_MNT
 umount $SCRATCH_MNT
 _scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+       echo error detected in filesystem
+       exit
+fi
+_scratch_mount
 _check_files
 
 status=0
diff --git a/180 b/180
index 20b174a760b9f87321a3f2c0d3b06a257d23ee1f..13ed6fd720ca5f5a5e3af7cadf911409483b2d5e 100644 (file)
--- a/180
+++ b/180
@@ -86,6 +86,13 @@ sync
 src/godown $SCRATCH_MNT
 umount $SCRATCH_MNT
 _scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+       echo error detected in filesystem
+       exit
+fi
+_scratch_mount
 _check_files
 
 status=0