tests: Sync with downstream RHEL
This commit is contained in:
parent
e4b8e77fe7
commit
5706aaec3b
@ -21,7 +21,7 @@ fi
|
|||||||
# which tests the host. Use a fixed tag to avoid running into failures with
|
# which tests the host. Use a fixed tag to avoid running into failures with
|
||||||
# "latest", as we don't gate container updates on the dist-git tests for now.
|
# "latest", as we don't gate container updates on the dist-git tests for now.
|
||||||
RC=0
|
RC=0
|
||||||
cat <<EOF | podman run --rm -i -v "$SOURCE:/source:ro" -v "$LOGS:/logs" docker.io/cockpit/tasks:2019-06-03 /bin/sh -eux || RC=$?
|
cat <<EOF | podman run --rm -i -v "$SOURCE:/source:ro" -v "$LOGS:/logs" docker.io/cockpit/tasks:2020-01-30 /bin/sh -eux || RC=$?
|
||||||
# CSP does not like the the invalid host name _gateway, so translate it
|
# CSP does not like the the invalid host name _gateway, so translate it
|
||||||
HOST=\$(getent hosts _gateway | cut -f1 -d' ')
|
HOST=\$(getent hosts _gateway | cut -f1 -d' ')
|
||||||
|
|
||||||
@ -31,6 +31,7 @@ trap "cp --verbose Test* /logs/ || true" EXIT
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
git clone --depth=1 https://github.com/cockpit-project/cockpit
|
git clone --depth=1 https://github.com/cockpit-project/cockpit
|
||||||
cd cockpit
|
cd cockpit
|
||||||
|
git clone --depth=1 https://github.com/cockpit-project/bots
|
||||||
# copy tests from our source, so that they match the released version
|
# copy tests from our source, so that they match the released version
|
||||||
rm -rf test
|
rm -rf test
|
||||||
cp -a /source/test .
|
cp -a /source/test .
|
||||||
@ -38,7 +39,7 @@ cp -a /source/test .
|
|||||||
# only install a subset to save time/space
|
# only install a subset to save time/space
|
||||||
npm install axe-core chrome-remote-interface sizzle
|
npm install axe-core chrome-remote-interface sizzle
|
||||||
|
|
||||||
export TEST_OS=fedora-30
|
export TEST_OS=fedora-32
|
||||||
test/verify/check-menu -tv --machine \$HOST:22 --browser \$HOST:9090
|
test/verify/check-menu -tv --machine \$HOST:22 --browser \$HOST:9090
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user