Fix exit code handling in blackbox test.

Apparently, QProcess::exitCode is often (always?) zero when the process
crashed, so take that into account.

Change-Id: I5d254d16bb7a06c7940f19abb3bef80bba99b3c1
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>