Fix exit code from testapp
Fix exit code from testapp

Change-Id: I3c8af22e55a7e7c3b44e7ee7bc8bda861dadc4de
Reviewed-on: http://review.couchbase.org/11795
Tested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
Tested-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>
Reviewed-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>

membase/libvbucket,couchbase/libvbucket,zbase/libvbucket,zbase/libvbucket,zbase/libvbucket