diff --git a/integration/upstream-tests/main.fmf b/integration/upstream-tests/main.fmf new file mode 100644 index 0000000..2105396 --- /dev/null +++ b/integration/upstream-tests/main.fmf @@ -0,0 +1,43 @@ +summary: Run the upstream integration test suite +test: ./test.sh +require: + - acl + - bind-utils + - dhcp-client + - dnsmasq + - dosfstools + - e2fsprots + - elfutils + - integritysetup + - iscsi-initiator-utils + - jq + - lvm2 + - make + - mdadm + - net-tools + - nmap-ncat + - python3-pyexpect + - python3-pyparsing + - python3-pytest + - qemu-kvm + - quota + - socat + - squashfs-tools + - swtpm + - systemd + - systemd-container + - systemd-libs + - systemd-pam + - systemd-tests + - systemd-udev + - time + - tpm2-tools + - veritysetup + - wget +recommend: + - systemd-boot-unsigned + - systemd-bootchart + - systemd-journal-remote + - systemd-networkd + - systemd-oom-defaults + - systemd-resolved diff --git a/integration/upstream-tests/test.sh b/integration/upstream-tests/test.sh new file mode 100755 index 0000000..21aa141 --- /dev/null +++ b/integration/upstream-tests/test.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -eux +set -o pipefail + +export ARTIFACT_DIRECTORY="${TMT_TEST_DATA:?}" +export TEST_SAVE_JOURNAL=fail +export TEST_SHOW_JOURNAL=warning +export TEST_REQUIRE_INSTALL_TESTS=0 +export TEST_PREFER_NSPAWN=1 +export NO_BUILD=1 +export QEMU_TIMEOUT=1800 +export NSPAWN_TIMEOUT=1200 +# FIXME +export TEST_NO_QEMU=1 + +test/run-integration-tests.sh