xfs
[Top] [All Lists]

[PATCH v2 11/12] xfstests: do not unmount before calling _check_scratch_

To: xfs@xxxxxxxxxxx
Subject: [PATCH v2 11/12] xfstests: do not unmount before calling _check_scratch_fs()
From: Junho Ryu <jayr@xxxxxxxxxx>
Date: Tue, 17 Dec 2013 14:18:41 -0800
Cc: branto@xxxxxxxxxx, hughd@xxxxxxxxxx, tytso@xxxxxxx, Junho Ryu <jayr@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ncAqaGKLIim+wtT2N4vQwTIvOhhNPlo73qs8eS7YQgo=; b=R9rdMxrSBioK0mS3Ao3aBcKsudpLbZO5myCfeRUG9kxFBm1ezEFynAB9upweXR54BA T1K1rZiubgOUy93yZWdFUzpBWPqN859x2MfKYehJRXXC0x8wx7YfWcFy46pQ5KBgJQPE 6/Z2VUsilqrRLhN9es5/Rp0KYEhWzkxM+LMg5LyQ2gBLtMaL1c6WY47v3aPnRy6N8IZk 5ywZUDBYonPc0P+bTfYuiuS+h35MHlfSwwEkHmPBJnLnP9/3R9WcsN506bi4rMWFd9+g xIMRB7iYPTCGyJauEEbyQpuZyFxM3GeufqgT01AxpBjb/btzqWD6K+o8SBV6avuM6qQS 7dKw==
In-reply-to: <1387318722-3050-1-git-send-email-jayr@xxxxxxxxxx>
References: <1387318722-3050-1-git-send-email-jayr@xxxxxxxxxx>
Many tests do not unmount SCRATCH_DEV before calling
_check_scratch_fs().  Change generic/053 to call check a filesystem
without unmounting the device.

Signed-off-by: Junho Ryu <jayr@xxxxxxxxxx>
---

v2: extracted from patch 9

 tests/generic/053 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/generic/053 b/tests/generic/053
index b8bd9e6..cf46a93 100755
--- a/tests/generic/053
+++ b/tests/generic/053
@@ -81,9 +81,7 @@ list_acls()
 
 echo "acls before repair:"
 list_acls
-_do 'unmount $SCRATCH_DEV' 'umount $SCRATCH_DEV'
 _do 'repair filesystem' '_check_scratch_fs'
-_do 'mount filesytem' '_scratch_mount'
 echo "acls after repair: "
 list_acls
 
-- 
1.8.5.1

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