xfs
[Top] [All Lists]

[PATCH v3 09/12] xfstests: skip generic/076 which cannot work on tmpfs

To: xfs@xxxxxxxxxxx
Subject: [PATCH v3 09/12] xfstests: skip generic/076 which cannot work on tmpfs
From: Junho Ryu <jayr@xxxxxxxxxx>
Date: Wed, 18 Dec 2013 10:16:00 -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=pm6GCduLJME6cp+Sg0VPmMM9fWNRsWHJl5FEAWL5ou0=; b=LRNDXPiMIbWfDJz1mAVLc/IdvyUpJB9xKLRm4gSwq0814BtQkhByboWfOBLISRH8Oz e9pXjcI4MUO9Am6gA0lj8JggkCFzkusmW5bjYktHxOSM9JGvxD55sGOfJk+Jxr+xm4L9 JgB7dULMrgTNhcUL/0kBJMPWsktIBawYThB+2aiywX8wqc/yGI/imGGiPU7L2q7bEiBF v1TOgvdlfRtHGfdmnvCr2gCs7aU3xIbr9o69G0YCFJLvqsQsgInIHOKYG5ALzbEeCR5g aIC3/RITeMD9ZiYnMtDnKAeo2f0z3+5r7OMDzfox64NT9TLg+oIu/NhpR53jr7A41wkA gjtg==
In-reply-to: <1387390563-27064-1-git-send-email-jayr@xxxxxxxxxx>
References: <1387390563-27064-1-git-send-email-jayr@xxxxxxxxxx>
Skip generic/076 which tests concurrent access while testing tmpfs
because there are other tests cover the case using fsstress.

Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>
Signed-off-by: Theodore Ts'o <tytso@xxxxxxx>
Signed-off-by: Junho Ryu <jayr@xxxxxxxxxx>
---

v3: use -b to check whether SCRATCH_DEV is a block device.

v2: check whether SCRATCH_DEV is a block device instead of checking whether
    FSTYP is tmpfs.

 tests/generic/076 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/generic/076 b/tests/generic/076
index a53840f..b6a89b7 100755
--- a/tests/generic/076
+++ b/tests/generic/076
@@ -57,6 +57,8 @@ _supported_os IRIX Linux
 
 _require_scratch
 
+[ -b "$SCRATCH_DEV" ] || _notrun "this test requires block device"
+
 echo "*** init fs"
 
 rm -f $seqres.full
-- 
1.8.5.1

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