There was an error while loading. Please reload this page.
1 parent 7a37f0b commit b18473fCopy full SHA for b18473f
1 file changed
agent/testsuite-rhel8.sh
@@ -155,7 +155,7 @@ for t in test/TEST-??-*; do
155
# about them, so let's tell it to whitelist all known syscalls
156
export NSPAWN_ARGUMENTS="--system-call-filter=@known"
157
158
- if grep 'seccomp_init_for_arch(.*SCMP_ACT_ERRNO(EPERM)' src/nspawn/nspawn-seccomp.c; then
+ if grep -q 'seccomp_init_for_arch(.*SCMP_ACT_ERRNO(EPERM)' src/nspawn/nspawn-seccomp.c; then
159
# In very old RHEL 8 systemd versions (8.6.0 and older) we're missing patch series [0] that configure
160
# nspawn's seccomp filters to return ENOSYS instead of EPERM for unknown syscalls. And given we have
161
# to run the CI for RHEL 8 systemd on C9S, we get a bunch of unknown syscalls when running nspawn which
0 commit comments