start-testsuite.sh: allow to skip the configuration file parameter

Allows to use the default configuration file while setting a specific test case.

Change-Id: I6b318aea9e1f8b23c283d08e7b06f055fc907cdd
This commit is contained in:
Alexander Couzens 2019-05-16 17:08:36 +02:00
parent b97efef848
commit 0163666beb
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ SUITE=$1
SUITE_DIR="$(dirname "$SUITE")"
SUITE_NAME="$(basename "$SUITE")"
CFG="$SUITE_NAME.cfg"
if [ $# -gt 1 ]; then
if [ $# -gt 1 ] && [ "$2" != "" ] ; then
CFG=$2
fi