| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | # Copyright 2021 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 | set -e -o pipefail |
| 12 | . $builddir/tests/test_common.sh |
| 13 | |
| 14 | # Test Cases |
| 15 | |
| 16 | stderr="$(mktemp)" |
| 17 | $OSCAP oval eval --id oval:x:def:1 "$srcdir/rhbz1959570_segfault_reproducer.xml" 2> "$stderr" |
| 18 | [ ! -s "$stderr" ] |
| 19 | rm "$stderr" |