aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2018-01-20 23:24:01 -0800
committerEryu Guan <eguan@redhat.com>2018-01-22 18:32:17 +0800
commit8ebb071eb8a578abcbf7fbe90c88164fcf1073e1 (patch)
tree974e333fc45e932af89d0a4673436f45b06485cc
parentcdd360da7b279f5fe19b71a0ee2173da2f5fcf44 (diff)
downloadxfstests-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-xcheck4
1 files changed, 4 insertions, 0 deletions
diff --git a/check b/check
index 84752dae36..2bdad3995b 100755
--- a/check
+++ b/check
@@ -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