Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
openscap.26539
openscap-fix-tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openscap-fix-tests.patch of Package openscap.26539
Index: openscap-1.2.16/tests/API/OVAL/unittests/test_oval_empty_variable_evaluation.sh =================================================================== --- openscap-1.2.16.orig/tests/API/OVAL/unittests/test_oval_empty_variable_evaluation.sh +++ openscap-1.2.16/tests/API/OVAL/unittests/test_oval_empty_variable_evaluation.sh @@ -11,6 +11,9 @@ $OSCAP oval eval --results $result $srcd echo "Validating results." $OSCAP oval validate-xml --results $result echo "Testing results values." +echo "====" +cat $result +echo "====" [ "$($XPATH $result 'string(/oval_results/results/system/tests/test[@test_id="oval:x:tst:1"]/@result)')" == "false" ] [ "$($XPATH $result 'string(/oval_results/results/system/tests/test[@test_id="oval:x:tst:2"]/@result)')" == "true" ] [ "$($XPATH $result 'string(/oval_results/results/system/tests/test[@test_id="oval:x:tst:3"]/@result)')" == "error" ]
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor