Skip to content

Commit 65f01d2

Browse files
committed
agent(rhel8): skip a part of test-fs-util
Since it's broken with newer kernels (which we have to use due to lack of CentOS 8 / CentOS Stream 8). See: redhat-plumbers/systemd-rhel8#434
1 parent 1c8947e commit 65f01d2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

agent/testsuite-rhel8.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ import sys
8888
sys.exit(77)
8989
EOF
9090

91+
# FIXME (also not really): test-fs-util with newer kernel
92+
# This test fails with newer kernels, because we're missing a couple of patches in RHEL 8. Since there's no
93+
# CentOS 8 (nor CentOS Stream 8), we run the tests on C9S and hit this issue. It's very unlikely we'll backport
94+
# the necessary patches to RHEL 8, so drop the failing test for now.
95+
#
96+
# See:
97+
# - https://github.com/redhat-plumbers/systemd-rhel8/issues/434
98+
sed -i '/a = strjoina(p, "\/lnk");/,/timespec_load/d' src/test/test-fs-util.c
99+
91100
# Run the internal unit tests (make check)
92101
exectask "ninja-test" "meson test -C build --print-errorlogs --timeout-multiplier=3"
93102
# Copy over meson test artifacts

0 commit comments

Comments
 (0)