From 8973b8d6c052f378067ba80f185f6aed1dd5b0b4 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Tue, 9 Aug 2022 19:35:32 -0500 Subject: [PATCH] Update tests --- .github/workflows/test_set_1.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_set_1.yml b/.github/workflows/test_set_1.yml index 3a367ca..9181c19 100644 --- a/.github/workflows/test_set_1.yml +++ b/.github/workflows/test_set_1.yml @@ -86,8 +86,8 @@ jobs: yum -y -q update yum -y -q install wget rsyslog if grep -qs 'release 9' /etc/redhat-release; then - if grep -qi rocky /etc/redhat-release \ - || grep -qi alma /etc/redhat-release; then + if grep -qs -i rocky /etc/redhat-release \ + || grep -qs -i alma /etc/redhat-release; then yum -y -q install diffutils fi fi @@ -144,13 +144,13 @@ jobs: y ANSWERS rm -f /etc/ipsec.d/vpnclient* - if grep -qi stream /etc/redhat-release \ + if grep -qs -i stream /etc/redhat-release \ || grep -qs -E 'release (8|9)' /etc/oracle-release; then mkdir /etc/xl2tpd fi if grep -qs 'release 9' /etc/redhat-release; then - if grep -qi rocky /etc/redhat-release \ - || grep -qi alma /etc/redhat-release; then + if grep -qs -i rocky /etc/redhat-release \ + || grep -qs -i alma /etc/redhat-release; then mkdir /etc/xl2tpd fi fi