[master][stability] Update sh file to fix exit error

[Detailed commit message (if have)]
Unit test platform: [Tizen]
Impacted TCs num(approved):New 0,Update 4,Delete 0
Test Result: pass 4, fail 0, block 0