TestappTest::waitForShutdown: Handle EINTR
TestappTest::waitForShutdown: Handle EINTR

I got EINTR when running lldb.

Change-Id: I43d478aede9be695cff36d29312f93da9f265d8a
Reviewed-on: http://review.couchbase.org/72892
Tested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>

couchbase/memcached,daverigby/memcached,couchbase/memcached,daverigby/memcached,daverigby/memcached,daverigby/memcached,couchbase/memcached,daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine,couchbase/memcached,daverigby/kv_engine