X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fresources%2Fscripts%2FtinyTestcase.sh;h=b588dc209fd24ceb1691a692db47a8b85dabb98c;hp=f2b30d5d023c8a7601e439f6f57fc12dd8b7cb91;hb=a2e6aaf2df1e40e522ba2bbd17df3f51faba8f8d;hpb=c7f7ea45e06f24df384069535ae12f5f2fc3c004 diff --git a/example/diameter/launcher/resources/scripts/tinyTestcase.sh b/example/diameter/launcher/resources/scripts/tinyTestcase.sh index f2b30d5..b588dc2 100755 --- a/example/diameter/launcher/resources/scripts/tinyTestcase.sh +++ b/example/diameter/launcher/resources/scripts/tinyTestcase.sh @@ -59,7 +59,7 @@ usage() { echo echo " timeout:" echo - echo " Timeout in seconds for the testcase. By default, no timeout will be programmed for the testcase." + echo " Timeout in seconds for the testcase. If not provided, no timeout will be programmed for the testcase." echo echo echo @@ -119,6 +119,7 @@ update_testcase () { ############# echo SOURCE_DIR=$1 +│[ -z "$SOURCE_DIR" ] && usage SOURCE_DIR=`readlink -f $SOURCE_DIR` [ ! -d "$SOURCE_DIR" ] && _exit "Can't found provided directory '$SOURCE_DIR'" # Work on source directory: