xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH v3 11/12] xfstests: do not unmount before calling _check_scratch_fs()
From: Junho Ryu <jayr@xxxxxxxxxx>
Date: Wed, 18 Dec 2013 10:16:02 -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=yHXiAp5ZXG6IO/eY8scKXF4ltkdR0oXjs+c1bsbIGbI=; b=Pq1Z/h2JYQv9a5leztszEga5icsldPr1/imlgOiLScpnmKZsm0xVsnaoVU9lpwzDHD oJkeW2JLAA/+uX898TqdJ6/4rLyWBzpFAhgHG0owLUb5kszLWQU1vs3MqYuOg1u1394x 7HfkcljKInCGxK+xcMc5XZnouCIRXaOEOUzhr7wxfpcCMfSq6Gj0T7jdq7e2ijWsPsIG /OQIMTOdQmoLMHAM9YX1M5uZdLFwcRUyUUlr9mI7zzAUEQ4EloUNR9+E7sfuk6SpWjed T+SF3pN/mVsgi0FqR+csRRPOVTONgI06mGcbGiW2n2RWLIJJBXp7xJ8l3N2asa+aqrEX CyJw==
In-reply-to: <1387390563-27064-1-git-send-email-jayr@xxxxxxxxxx>
References: <1387390563-27064-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>
---

v3: same as v2

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>