testing: Support running multiple tests with * as wildcard (e.g. ikev2/ocsp-*)
This commit is contained in:
1 parent
d7dc677ee5
commit
49917f0028
1 file changed
+4
@@ -211,6 +211,10 @@ do
|
|||||||
then
|
then
|
||||||
SUBTESTS="`ls $DEFAULTTESTSDIR/$SUBDIR`"
|
SUBTESTS="`ls $DEFAULTTESTSDIR/$SUBDIR`"
|
||||||
else
|
else
|
||||||
|
if [[ $SUBTESTS == *'*'* ]]
|
||||||
|
then
|
||||||
|
SUBTESTS="`basename -a $DEFAULTTESTSDIR/$SUBDIR`"
|
||||||
|
fi
|
||||||
SUBDIR="`dirname $SUBDIR`"
|
SUBDIR="`dirname $SUBDIR`"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user