summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-08-16 10:49:15 -0600
committerEd Santiago <santiago@redhat.com>2022-08-16 10:53:05 -0600
commit06b3a4c1cfac4bc1d56ddb77df3b0dcc7e5f91b4 (patch)
tree8bfce9f3532872ae042563ed7af0e2d6f597f32f
parent3dace12777e27a7732acb25ae78f86ced8ae04da (diff)
downloadpodman-06b3a4c1cfac4bc1d56ddb77df3b0dcc7e5f91b4.tar.gz
podman-06b3a4c1cfac4bc1d56ddb77df3b0dcc7e5f91b4.tar.bz2
podman-06b3a4c1cfac4bc1d56ddb77df3b0dcc7e5f91b4.zip
system tests: fix broken runc test
Followup to #14613, which was never actually tested until this week in RHEL8 gating tests (see issue #15337). * add missing backslash in '|' expression * allow extra text after error (e.g., "invalid argument") No way to test this until it makes its way into RHEL8, so, fingers crossed. Signed-off-by: Ed Santiago <santiago@redhat.com>
-rw-r--r--test/system/410-selinux.bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/410-selinux.bats b/test/system/410-selinux.bats
index 082482c7a..cc86f282a 100644
--- a/test/system/410-selinux.bats
+++ b/test/system/410-selinux.bats
@@ -212,7 +212,7 @@ function check_label() {
# https://github.com/opencontainers/selinux/pull/148/commits/a5dc47f74c56922d58ead05d1fdcc5f7f52d5f4e
# from failed to set /proc/self/attr/keycreate on procfs
# to write /proc/self/attr/keycreate: invalid argument
- runc) expect="OCI runtime error: .*: \(failed to set|write\) /proc/self/attr/keycreate" ;;
+ runc) expect="OCI runtime error: .*: \(failed to set\|write\) /proc/self/attr/keycreate.*" ;;
*) skip "Unknown runtime '$runtime'";;
esac