Commit Graph

13 Commits

Author SHA1 Message Date
Martin Pitt
1c54526baf tests: Use run-tests --exclude option
This is simpler, more robust, and fixes the silently skipped tests as
the `{}` did not get expanded by the shell any more.
2020-06-15 13:46:27 +02:00
Martin Pitt
029dfa3410 tests: Exclude TestLogin.testExpired on RHEL
RHEL 8's PAM has some weird bug where it rejects the *current* password
when changing an expired one. This isn't trivial to reproduce on the CLI
and thus has no bugzilla yet.
2020-06-15 09:35:27 +02:00
Martin Pitt
8cdec9d69e tests: Grab latest upstream run-tests to fix BlockingIOError crash
This can be reverted once version 222 gets packaged, which includes the
fix.
2020-06-15 07:48:30 +02:00
Martin Pitt
2734e8d5fe tests: Fix cockpit-appstream detection
cwd in run-tests.sh is just the test user's home directory. Look into
the original test unpack directory for the cockpit-appstream spec file.
2020-06-15 07:43:19 +02:00
Martin Pitt
a6f0e0a3b0 tests: Ignore message about wrong beakerlib app-info permissions
This is unrelated to the test, and really uninteresting.
2020-06-15 07:06:30 +02:00
Martin Pitt
a043a83424 tests: Use run-tests for everything
Cockpit 221 fixed storage test classes to all have different names, so
the "TestStorage" pattern now catches them all.

Also move the `image-download cirros` to simplify conditional blocks.
2020-06-14 16:13:00 +02:00
Martin Pitt
6c679bed82 tests: Fix nonexisting variable access in run-test.sh 2020-05-30 12:41:30 +02:00
Martin Pitt
ecd7b62189 tests: Use run-tests
This provides retries on flakes, integrates tests-policy for known
issues, and outputs proper TAP format.

Once we work out the remaining kinks (unstable tests and proper test
class names), it will also be much shorter.
2020-05-28 18:57:06 +02:00
Matej Marusak
b6bc45dfef test: 'run-test.sh' can decide which tests to run
We currently have 3 versions of this script (one in fedora, one in rhel
cockpit and one in rhel cockpit-appstream).
With this patch we can keep this same file in all 3.

Also backporting hack in verify.sh.
2020-05-28 15:43:32 +00:00
Martin Pitt
e929045b34 tests: Adjust to version 219
- check-machines-dbus got renamed to check-machines
 - More Machines tests should be stable now
2020-05-14 14:00:31 +02:00
Martin Pitt
63f5fd2065 test: Re-disable TestFirewall.testNetworkingPage
Still too unstable.
2020-04-28 16:29:07 +02:00
Martin Pitt
5c652c5d08 test: Re-disable TestMachinesDBus.test{Libvirt,NetworkSettings}
They are still too unstable.
2020-04-28 13:59:04 +02:00
Martin Pitt
6d1be3eb74 test: Run browser and tests directly on the host
Dynamically set $TEST_OS from /etc/os-release, and install chromium
directly on Fedora and from EPEL on RHEL. With these we can keep the
test in sync between RHEL and Fedora.

Also drop the obsolete resetting of system changes, that was fixed in
cockpit's tests.
2020-04-28 13:59:04 +02:00