Remove support for pcre
Pcre package is no more available to RHEL
This commit is contained in:
parent
49966cff8a
commit
83a43dcacc
@ -31,7 +31,7 @@
|
||||
. /usr/lib/beakerlib/beakerlib.sh
|
||||
|
||||
PACKAGES="pam"
|
||||
BINARIES="pcregrep expect bc"
|
||||
BINARIES="expect bc perl"
|
||||
|
||||
rlJournalStart &&{
|
||||
rlPhaseStartSetup &&{
|
||||
@ -100,7 +100,7 @@ EOF
|
||||
rlRun "diff ./audit.log /var/log/audit/audit.log | grep '>' | sed -e 's/> //' | tee ./log" 0-255
|
||||
rlChk "check that audit.log contains what it should" &&{
|
||||
aureport --tty -ts recent -if ./log |tee log.txt
|
||||
rlRun "pcregrep -M 'bc \"1\+1\",(<ret>|<nl>)(\n|\r)?.*\"10\^2\",(<ret>|<nl>)(\r|\n)?.*<up>,<up>,(<ret>|<nl>)' log.txt"
|
||||
rlRun "perl -0777 -ne 'exit 0 if /bc \"1\\+1\",(<ret>|<nl>)(\\n|\\r)?.*\"10\\^2\",(<ret>|<nl>)(\\r|\\n)?.*<up>,<up>,(<ret>|<nl>)/s; exit 1' log.txt"
|
||||
rlFin; }
|
||||
rlFin; }
|
||||
#PS1="[test] " bash
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
- openssh-clients
|
||||
- openssh-server
|
||||
- pam
|
||||
- pcre-tools
|
||||
- perl
|
||||
|
||||
# Tests that run in container context
|
||||
- hosts: localhost
|
||||
@ -30,4 +30,4 @@
|
||||
- expect
|
||||
- findutils # beakerlib needs find command
|
||||
- pam
|
||||
- pcre-tools
|
||||
- perl
|
||||
|
||||
Loading…
Reference in New Issue
Block a user