Skip to content

Commit 2c00aa0

Browse files
authored
Relax pkg-test checks temporarily
`grep -i fail` will wrongly cause a failure at "Failed to set locale, defaulting to C".
1 parent b031aba commit 2c00aa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pkg.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ jobs:
850850
centos)
851851
sg lxd -c "lxc exec testcon -- yum remove -y ${{ matrix.pkg }}" 2>&1 | tee remove.log
852852
# yum remove exits with code 0 even if scriptlets fail, so look for some sign of failure
853-
! grep -qiE '(err|warn|fail)' remove.log
853+
! grep -qE '(err|warn|fail)' remove.log
854854
;;
855855
esac
856856
@@ -863,7 +863,7 @@ jobs:
863863
centos)
864864
sg lxd -c "lxc exec testcon -- yum install -y /tmp/${PKG_FILE}" 2>&1 | tee reinstall.log
865865
# yum remove exits with code 0 even if scriptlets fail, so look for some sign of failure
866-
! grep -qiE '(err|warn|fail)' reinstall.log
866+
! grep -qE '(err|warn|fail)' reinstall.log
867867
;;
868868
esac
869869

0 commit comments

Comments
 (0)