xfs
[Top] [All Lists]

[PATCH 1/3] xfstests: generic/204 should call _check_scratch_fs

To: xfs@xxxxxxxxxxx
Subject: [PATCH 1/3] xfstests: generic/204 should call _check_scratch_fs
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 3 Sep 2013 10:14:53 +1000
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1378167295-7566-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1378167295-7566-1-git-send-email-david@xxxxxxxxxxxxx>
From: Dave Chinner <dchinner@xxxxxxxxxx>

Because if it corrupts the filesystem it currently goes undetected.

Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
---
 tests/generic/204 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/generic/204 b/tests/generic/204
index 62bd248..98cb176 100755
--- a/tests/generic/204
+++ b/tests/generic/204
@@ -52,6 +52,8 @@ for i in `seq 1 22500`; do
     echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > $SCRATCH_MNT/$i
 done
 
+_check_scratch_fs
+
 # success, all done
 echo "*** done"
 rm -f $seqres.full
-- 
1.8.3.2

<Prev in Thread] Current Thread [Next in Thread>