Change in ...osmo-ttcn3-hacks[master]: start-testsuite.sh: allow to skip the configuration file parameter

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Sep 17 16:19:06 UTC 2019


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15554


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

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
---
M start-testsuite.sh
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/54/15554/1

diff --git a/start-testsuite.sh b/start-testsuite.sh
index e5bc756..0622f61 100755
--- a/start-testsuite.sh
+++ b/start-testsuite.sh
@@ -28,7 +28,7 @@
 SUITE_DIR="$(dirname "$SUITE")"
 SUITE_NAME="$(basename "$SUITE")"
 CFG="$SUITE_NAME.cfg"
-if [ $# -gt 1 ]; then
+if [ $# -gt 1 ] && [ "$2" != "" ] ; then
 	CFG=$2
 fi
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15554
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6b318aea9e1f8b23c283d08e7b06f055fc907cdd
Gerrit-Change-Number: 15554
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190917/56006fe6/attachment.htm>


More information about the gerrit-log mailing list