Ignore select() errors on Travis/MacOS.
This commit is contained in:
@@ -245,8 +245,10 @@ for run in $server_tests; do
|
|||||||
fi
|
fi
|
||||||
# Check for 0-timeout select() issue
|
# Check for 0-timeout select() issue
|
||||||
if egrep -q "(polls, rate limiting|consecutive polls)" "${test_dir}/${run}.server.stderr"; then
|
if egrep -q "(polls, rate limiting|consecutive polls)" "${test_dir}/${run}.server.stderr"; then
|
||||||
|
if [ "osx" != "${TRAVIS_OS_NAME}" ]; then
|
||||||
test_error "select() with zero timeout called too often on server during %s\n" "$run"
|
test_error "select() with zero timeout called too often on server during %s\n" "$run"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
# Check for assert()
|
# Check for assert()
|
||||||
if egrep -q "assertion.*failed" "${test_dir}/${run}.server.stderr"; then
|
if egrep -q "assertion.*failed" "${test_dir}/${run}.server.stderr"; then
|
||||||
test_error "assertion during %s\n" "$run"
|
test_error "assertion during %s\n" "$run"
|
||||||
|
|||||||
Reference in New Issue
Block a user