btrfs-progs: tests: support testname glob
authorDavid Sterba <dsterba@suse.com>
Fri, 10 Jul 2015 22:38:07 +0000 (00:38 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 31 Aug 2015 17:25:09 +0000 (19:25 +0200)
commita5afa55a30a07f18c17527ad09420afb9bc5ff69
tree9ab232115b7ac6db89e4e759c16720fa8943e994
parent9842d5769117eb46ad116b8e9fb65a5b8cf27856
btrfs-progs: tests: support testname glob

To run a given test set the variable TEST like

 $ make test TEST=002-bad-transid
 $ make test TEST=002-*

and only tests matching the value will be run. The pattern is glob and
pased to 'find -name'.

The convert tests do not follow the fsck and misc layout and are skipped
if TEST is set.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/convert-tests.sh
tests/fsck-tests.sh
tests/misc-tests.sh