| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | # Copyright 2019 Red Hat Inc., Durham, North Carolina. |
| 4 | # All Rights Reserved. |
| 5 | # |
| 6 | # OpenSCAP Probes Test Suite. |
| 7 | # Tests the rpmverifypackage probe. |
| 8 | # |
| 9 | # Authors: |
| 10 | # Jan Černý <[email protected]> |
| 11 | # Evgenii Kolesnikov <[email protected]> |
| 12 | |
| 13 | . $builddir/tests/test_common.sh |
| 14 | . $srcdir/rpmverifypackage_common.sh |
| 15 | . $srcdir/../rpm_common.sh |
| 16 | |
| 17 | set -e -o pipefail |
| 18 | set -x |
| 19 | |
| 20 | |
| 21 | test_init |
| 22 | |
| 23 | rpm_prepare_offline |
| 24 | |
| 25 | test_run "rpmverifypackage probe test" test_probes_rpmverifypackage "foobar" |
| 26 | |
| 27 | rpm_cleanup_offline |
| 28 | |
| 29 | test_exit |