]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
check: Allow partial test names
authorJan Tulak <jtulak@redhat.com>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 4 Aug 2015 04:10:49 +0000 (14:10 +1000)
commit6108261c6d956ccbabfc4d1af13098aa95e9c272
tree2239e3c16ee96ba29df96d45bdac0516d522f536
parent5a18f833e8aa7ad7cc7edf6f60c7182036348751
check: Allow partial test names

When running ./check and calling a test with a name, id is enough
to find the test (names added in 03c633bf).

If the full test path is tests/xfs/123-foo-bar, then all these
invocations should work, as long as the given part of the test name
is valid and the three-digits id is here.

./check xfs/123-foo-bar
./check xfs/123-foo
./check xfs/123

Always use full test name in results.

Signed-off-by: Jan Tulak <jtulak@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
check
common/rc