systemtap/plans/ci/prepare/prepare.sh
Martin Cermak 4dfa7981ab CI Gating: Add the python-probing testcase
Add tests/Regression/python-probing covering rhbz2027683.  Also
do minor updates to help the other tests behave correctly.

Related: #2027683
2022-01-21 10:42:59 +01:00

18 lines
282 B
Bash
Executable File

#!/bin/bash
set -xe
# Install needed packages
dnf -y install /usr/bin/stap-prep
stap-prep
# Report installed packages
stap-report
# Set up SELinux so that it allows for userspace probing
setsebool allow_execmod on
setsebool allow_execstack on
setsebool deny_ptrace off
set +xe