aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-05-18 04:11:15 -0700
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-05-18 05:59:03 -0700
commitbb8249ec4200471659d443bdec4befbac2ba01aa (patch)
treec7da802824a2fccc885f60770c11232b6f043e48 /test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
parent5422700691d0c8c2f9f100b3d1599230b627de91 (diff)
Create a boilerplate decorator for MassPnfSim class actions
Change-Id: Ia095a608d204e3da6dae101afa04f2e66a9bceeb Issue-ID: INT-1577 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh')
-rwxr-xr-xtest/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
index 50ef3214d..8c5390ed5 100755
--- a/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
+++ b/test/mocks/mass-pnf-sim/pnf-sim-lightweight/simulator.sh
@@ -30,7 +30,7 @@ function main(){
if [[ -z ${2+x} ]]
then
echo "Error: action 'stop' requires the instance identifier"
- exit
+ exit 1
fi
stop $2;;
"run-simulator")