X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fvirl%2Fbin%2Fstop-testcase;h=572d5d6e8d55224e691c6b51c95ac509d031d197;hp=1175fcf2b5cb541011c449773533f5d7d1319fb8;hb=bf396b294274cdd0ac1e8779ae674c9f05c78ccc;hpb=f66bdbdcf7f238034d447c37facb2623f71df06a diff --git a/resources/tools/virl/bin/stop-testcase b/resources/tools/virl/bin/stop-testcase index 1175fcf2b5..572d5d6e8d 100755 --- a/resources/tools/virl/bin/stop-testcase +++ b/resources/tools/virl/bin/stop-testcase @@ -20,5 +20,8 @@ NFS_SCRATCH_SERVERDIR="/nfs/scratch" # Our own (NFS s TESTCASE=$1 -virl_std_client -u $VIRL_USER -p $VIRL_PASSWORD simengine-stop --session-id $TESTCASE -sudo rm -fr ${NFS_SCRATCH_SERVERDIR}/${TESTCASE} +if [ "x${TESTCASE}" != "x" ] +then + virl_std_client -u $VIRL_USER -p $VIRL_PASSWORD simengine-stop --session-id $TESTCASE + sudo rm -fr ${NFS_SCRATCH_SERVERDIR}/${TESTCASE} +fi