CHROMIUM: test_dbus: Handle read() EINTR

We've finally got a proper error dump of a failing case:

BAD: Error reading dbus-daemon status: 4, Interrupted system call
	at tests/test_initctl.c:18533 (test_dbus_connection).
FAIL test_initctl (exit status: 134)

We should retry reads here if they see EINTR.

BUG=b:342438425
TEST=cros_run_unit_tests

Change-Id: I0425907f814503c03abfd03688ed0726cc2fc0fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/libnih/+/5696177
Reviewed-by: Allen Webb <allenwebb@google.com>
Commit-Queue: Brian Norris <briannorris@chromium.org>
Auto-Submit: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
1 file changed