From 2764bfc6e06ba9fd357f217daa27037335ba9cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= Date: Thu, 21 Dec 2023 11:15:46 +0100 Subject: [PATCH] Make systemdunitproperty probe test more independent The current test of the `systemdunitproperty` probe is relying on the assumption that the `systemd-journald.service` unit doesn't have the `Conflicts` property set. In Rawhide, this assumption is no longer true, because `Conflicts` is now set to `soft-reboot.target` by default. This change breaks our test. In this commit, we will make the test less dependent on actual property value. Instead, we will check a dummy property that is unlikely to occur. Fixes: #2066 --- .../systemdunitproperty/test_probes_systemdunitproperty.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.xml b/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.xml index fee5cc0b62e..983c9ffe30b 100644 --- a/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.xml +++ b/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.xml @@ -94,12 +94,12 @@ - + - + @@ -145,7 +145,7 @@ systemd-journald.service - Conflicts + OscapTestingProperty