Compare commits

...

2 Commits

Author SHA1 Message Date
Luca Boccassi e5a1bb5741 dbg 2024-11-24 23:11:39 +00:00
Luca Boccassi 0330412301 wip: try to see if packit can run from github 2024-11-23 00:10:54 +00:00
3 changed files with 10 additions and 3 deletions

View File

@ -57,8 +57,8 @@ jobs:
- job: tests
trigger: pull_request
fmf_url: https://src.fedoraproject.org/tests/systemd
fmf_ref: main
fmf_url: https://github.com/bluca/systemd-packit
fmf_ref: mkosi
tmt_plan: ci
targets:
- fedora-rawhide-x86_64

View File

@ -177,7 +177,6 @@ simple_tests += files(
'test-strv.c',
'test-strxcpyx.c',
'test-sysctl-util.c',
'test-terminal-util.c',
'test-tmpfile-util.c',
'test-udev-util.c',
'test-uid-classification.c',

View File

@ -6,6 +6,14 @@ set -o pipefail
# shellcheck source=test/units/test-control.sh
. "$(dirname "$0")"/test-control.sh
if systemd-detect-virt --quiet --container; then
# This comes from the selinux package and tries to write
# some files under sysfs, which will be read-only in a container,
# so mask it. It's not our tmpfiles.d file anyway.
mkdir -p /run/tmpfiles.d/
ln -s /dev/null /run/tmpfiles.d/selinux-policy.conf
fi
run_subtests
touch /testok