Skip to content

Commit e4f1f24

Browse files
committed
agent(rhel8): re-enable parse-hwdb on RHEL 8
The fails were not caused by incompatibility with RHEL 9, but by missing patches. I'm about to backport a bunch of fixes for this test, so this should no longer be necessary.
1 parent 2607248 commit e4f1f24

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

agent/testsuite-rhel8.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,10 @@ sed -i '/TEST_LIST=/aTEST_LIST=("${TEST_LIST[@]/\\/usr\\/lib\\/systemd\\/tests\\
7777
# https://github.com/systemd/systemd/commit/a1e3f0f38b43e68ff9ea33ab1935aed4edf6ed7f
7878
echo 'int main(void) { return 77; }' >src/test/test-barrier.c
7979

80-
# FIXME (not really): test-execute and parse-hwdb
81-
# Both tests are not compatible with newer packages on RHEL 9 and backporting all the necessary stuff would
82-
# be a major PITA. Since we run both of these tests in other CIs (both externally and internally), let's just
83-
# not bother here.
80+
# FIXME (not really): test-execute
81+
# This test is not compatible with newer packages on RHEL 9 and backporting all the necessary stuff would be a
82+
# major PITA. Since we run it in other CIs (both externally and internally), let's just not bother here.
8483
echo 'int main(void) { return 77; }' >src/test/test-execute.c
85-
cat >hwdb/parse_hwdb.py <<EOF
86-
#!/usr/bin/python3
87-
import sys
88-
sys.exit(77)
89-
EOF
9084

9185
# FIXME (also not really): test-fs-util with newer kernel
9286
# This test fails with newer kernels, because we're missing a couple of patches in RHEL 8. Since there's no

0 commit comments

Comments
 (0)