| 1 | #!/usr/bin/env bash |
| 2 | . $builddir/tests/test_common.sh |
| 3 | |
| 4 | result=`mktemp` |
| 5 | |
| 6 | set -e |
| 7 | set -o pipefail |
| 8 | |
| 9 | $OSCAP oval eval --results $result $srcdir/comment.xml |
| 10 | |
| 11 | assert_exists 1 '/oval_results/results/system/tests' |
| 12 | assert_exists 1 '/oval_results/results/system/tests/test' |
| 13 | |
| 14 | rm $result |
| 15 |