aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-05-16 17:08:36 +0200
committerAlexander Couzens <lynxis@fe80.eu>2019-09-15 22:37:38 +0200
commit3641e8229944d2398bf9a2e2600d0e7c612c6af0 (patch)
treea5d67d460ba809d9bdb3910fe8cb83d789295282
parent23b74404ba27fe38a3d6e8a1cda1f7194b3dae47 (diff)
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
-rwxr-xr-xstart-testsuite.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/start-testsuite.sh b/start-testsuite.sh
index e5bc7563..0622f61e 100755
--- a/start-testsuite.sh
+++ b/start-testsuite.sh
@@ -28,7 +28,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