File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -418,14 +418,15 @@ function test_ds_continue_without_remote_resources() {
418
418
local DS=" ${srcdir} /$1 "
419
419
local PROFILE=" $2 "
420
420
local result=$( mktemp)
421
+ local oval_result=" test_single_rule.oval.xml.result.xml"
421
422
422
- $OSCAP xccdf eval --profile " $PROFILE " --results " $result " " $DS "
423
+ $OSCAP xccdf eval --oval-results -- profile " $PROFILE " --results " $result " " $DS "
423
424
424
425
assert_exists 1 ' //rule-result[@idref="xccdf_com.example.www_rule_test-pass"]/result[text()="pass"]'
425
426
assert_exists 1 ' //rule-result[@idref="xccdf_com.example.www_rule_test-remote_res"]/result[text()="notchecked"]'
426
427
assert_exists 1 ' //rule-result[@idref="xccdf_com.example.www_rule_test-pass2"]/result[text()="pass"]'
427
428
428
- rm -f " $result "
429
+ rm -f " $result " " $oval_result "
429
430
}
430
431
431
432
You can’t perform that action at this time.
0 commit comments