#!/bin/sh -e
exec 2>&1
# Base test suite - run fwupd tests without allowing flaky tests.
# Flaky tests will be detected and fail CI when this flag is not set.
modprobe mtdram || true
fwupdtool enable-test-devices
fwupdtool modify-config VerboseDomains "*"
sed "s,ConditionVirtualization=.*,," \
    /lib/systemd/system/fwupd.service > \
    /etc/systemd/system/fwupd.service
systemctl daemon-reload
gnome-desktop-testing-runner --timeout=1200 fwupd
