diff options
author | Luis R. Rodriguez <mcgrof@kernel.org> | 2018-01-20 23:24:01 -0800 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2018-01-22 18:32:17 +0800 |
commit | 8ebb071eb8a578abcbf7fbe90c88164fcf1073e1 (patch) | |
tree | 974e333fc45e932af89d0a4673436f45b06485cc | |
parent | cdd360da7b279f5fe19b71a0ee2173da2f5fcf44 (diff) | |
download | xfstests-dev-8ebb071eb8a578abcbf7fbe90c88164fcf1073e1.tar.gz |
check: expunge tests when doing a dry run
Running ./check with -n will not execute tests, however
when exclude files are used we still show them as if
they are run. Test the exclude file prior to assuming
we can run a test on a dry run.
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rwxr-xr-x | check | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -668,6 +668,10 @@ for section in $HOST_OPTIONS_SECTIONS; do echo -n "$seqnum" if $showme; then + _expunge_test $seqnum + if [ $? -eq 1 ]; then + continue + fi echo start=0 stop=0 |