From 830f3011235b73165c5db2b285be70b915e497ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= Date: Mon, 18 Dec 2023 16:05:01 +0100 Subject: [PATCH] Add a opposite definition --- .../test_probes_systemdunitproperty.sh | 2 +- .../test_probes_systemdunitproperty.xml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.sh b/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.sh index d1e9114bb5d..5cd142d5dfe 100755 --- a/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.sh +++ b/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.sh @@ -22,7 +22,7 @@ function test_probes_systemdunitproperty { [ -f $RF ] && rm -f $RF - $OSCAP oval eval --results $RF $DF 2>$stderr + $OSCAP oval eval --results $RF $DF [ -f $RF ] verify_results "def" $DF $RF 8 diff --git a/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.xml b/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.xml index fee5cc0b62e..d557bf9e63f 100644 --- a/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.xml +++ b/tests/probes/systemdunitproperty/test_probes_systemdunitproperty.xml @@ -46,6 +46,12 @@ + + + + + + @@ -99,6 +105,11 @@ + + + + +