]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
_require_prjquota: Disable tests only when using realtime fs
authorChandan Rajendra <chandan@linux.ibm.com>
Wed, 20 Mar 2019 14:21:12 +0000 (19:51 +0530)
committerEryu Guan <guaneryu@gmail.com>
Sun, 24 Mar 2019 02:37:43 +0000 (10:37 +0800)
commit0ead9a42fda9a3d6b47085d2059dde732d8a59e1
tree01b4a1dbccbccdb494b91673c66a016401b5cf93
parent8309b39a8ad87de5eb33b18f97b02cf2dd1f105d
_require_prjquota: Disable tests only when using realtime fs

$USE_EXTERNAL needs to be set when using external log devices. In such a
setup, tests which have "_require_prjquota
$SCRATCH_DEV" (e.g. generic/383)  incorrectly end up being marked as
"not run" since the test "[ "$USE_EXTERNAL" = yes -a ! -z "$_dev" ]"
evaluates to true.

This commit fixes the bug by marking the test as "not run" only when
$USE_EXTERNAL is set and one of $TEST_RTDEV or $SCRATCH_RTDEV is set.

Signed-off-by: Chandan Rajendra <chandan@linux.ibm.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/quota