ITS#9817 Fix test087 set up
When run directly with ./run test087 testrun/ gets created but scripts/all won't do the same. Also correct the exit that was covering up for this issue.
When run directly with ./run test087 testrun/ gets created but scripts/all won't do the same. Also correct the exit that was covering up for this issue.