lkml.org 
[lkml]   [2018]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] fstests: expunge tests when doing a dry run
Date
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>
---
check | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/check b/check
index 0ba71d5d2005..43b8d6c3d127 100755
--- a/check
+++ b/check
@@ -666,6 +666,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
--
2.15.0
\
 
 \ /
  Last update: 2018-01-21 08:24    [W:0.028 / U:2.620 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site