tests: Grab latest upstream run-tests to fix BlockingIOError crash

This can be reverted once version 222 gets packaged, which includes the
fix.
This commit is contained in:
Martin Pitt 2020-06-15 07:48:30 +02:00
parent 2734e8d5fe
commit 8cdec9d69e

View File

@ -66,6 +66,10 @@ if [ -n "$test_basic" ]; then
TestSOS" TestSOS"
fi fi
# HACK: use fixed run-tests for BlockingIOError, until version 222 gets packaged
curl https://raw.githubusercontent.com/cockpit-project/cockpit/master/test/common/run-tests > test/common/run-tests
chmod a+x test/common/run-tests
# execute run-tests # execute run-tests
test/common/run-tests --test-dir test/verify --trace --verbose --nondestructive \ test/common/run-tests --test-dir test/verify --trace --verbose --nondestructive \
--machine localhost:22 --browser localhost:9090 $TESTS || RC=$? --machine localhost:22 --browser localhost:9090 $TESTS || RC=$?