check: add support for an external file containing tests to exclude
authorTheodore Ts'o <tytso@mit.edu>
Mon, 12 May 2014 23:04:13 +0000 (09:04 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 12 May 2014 23:04:13 +0000 (09:04 +1000)
commit9f3515572c4939674bdb582e26ca12baa1575416
treed5918824794a660aab9e0be4bee759d006339072
parentce0aa2bc5cdd8fcc3e56cd663796db731f8be893
check: add support for an external file containing tests to exclude

Currently the -X option is intended to specify a set of expunging
files which are stored in each test/* subdirectory.  As described in
the commit description for 0b1e8abd4, in order to exclude the test
generic/280, the -X option is used as follows:

    $ cat tests/generic/3.0-stable-avoid
    280
    $ sudo ./check -X 3.0-stable-avoid generic/280

However, it is sometimes useful to store the set of expunged tests in
a single file, outside of tests/* subdirectories.  This commit enables
the following:

    $ cat /root/conf/data_journal.exclude
    generic/068
    ext4/301
    $ sudo ./check -E /root/conf/data_journal.exclude -g auto

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
check