[PATCH] tests: commandhelper: Accept POLLNVAL on macOS