We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96271c5 commit 1abbedfCopy full SHA for 1abbedf
tests/oval_details/test_oval_details.sh
@@ -14,13 +14,15 @@ function test_oval_details_implicit {
14
# Tests if OVAL Details are present in HTML report by default
15
# without specifing --oval-results --results (new behavior)
16
xccdffile=$srcdir/$1.xccdf.xml
17
- resultfile=$output_dir/$1.result.xml
18
reportfile=$output_dir/$1.report.html
+ resultfile="$1.result.xml"
19
oval_resultfile="$1.oval.xml.result.xml"
20
$OSCAP xccdf eval --report $reportfile $xccdffile
21
[ -f $reportfile ]
22
[ ! -f $resultfile ]
23
+ [ ! -f $output_dir/$resultfile ]
24
[ ! -f $oval_resultfile ]
25
+ [ ! -f $output_dir/$oval_resultfile ]
26
grep -i $2 $reportfile >/dev/null && grep -i $3 $reportfile >/dev/null
27
rm $reportfile
28
}
0 commit comments