Compare commits
2 Commits
0380449ec8
...
e5a1bb5741
Author | SHA1 | Date |
---|---|---|
Luca Boccassi | e5a1bb5741 | |
Luca Boccassi | 0330412301 |
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue