| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | # Copyright 2015 Red Hat Inc., Durham, North Carolina. |
| 4 | # All Rights Reserved. |
| 5 | # |
| 6 | # OpenScap Probes Test Suite. |
| 7 | # |
| 8 | # Authors: |
| 9 | # Jan Černý <[email protected]> |
| 10 | |
| 11 | . $builddir/tests/test_common.sh |
| 12 | |
| 13 | set -e |
| 14 | |
| 15 | function oval_validation { |
| 16 | DF="test_probes_systemdunitdependency_validate.xml" |
| 17 | ${srcdir}/test_probes_systemdunitdependency.xml.sh "true" > $DF |
| 18 | $OSCAP oval validate $DF |
| 19 | } |
| 20 | |
| 21 | test_run "OVAL 5.11 validation (systemdunitdependency)" oval_validation |
| 22 | |
| 23 |