xfstests: use a common _filter_test_dir function
authorAlex Elder <aelder@sgi.com>
Fri, 22 Oct 2010 14:09:24 +0000 (14:09 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 25 Oct 2010 15:15:58 +0000 (10:15 -0500)
commitb88bd861f211c0574ccc834d90d17b15599fe450
treeac5d839cd810110924fefeac6ece9b028ffc8600
parent580b0a93860a732492277529c2edaf5b1585baf5
xfstests: use a common _filter_test_dir function

Christoph Hellwig suggested that a function similar to the common
"_filter_scratch" function ought to be created to handle filtering
of the TEST_DIR and TEST_DEV variables.  This patch implements that.

The name "_filter_test" seems like it might suggest it does
something different, so I'm calling this one "_filter_test_dir".
This unfortunately makes the "test" and "scratch" functions have
different naming conventions, but I guess we should be accustomed to
that by now (consider "TEST_DIR" and "SCRATCH_MNT").

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
084
084.out
088
203
common.filter