From 3ce07b5567982d00e131b41aca73669586cd5b37 Mon Sep 17 00:00:00 2001 From: Toshiki Sonoda Date: Fri, 3 Feb 2023 14:41:06 +0900 Subject: [PATCH] system tests: fix noexistent labels test in the remote In the remote environment, this test will be failed, because an error message is different from the local environment. Signed-off-by: Toshiki Sonoda --- test/system/410-selinux.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/system/410-selinux.bats b/test/system/410-selinux.bats index 52c428884d..71e253476a 100644 --- a/test/system/410-selinux.bats +++ b/test/system/410-selinux.bats @@ -209,7 +209,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=".*: \(failed to set\|write\) /proc/self/attr/keycreate.*" ;; *) skip "Unknown runtime '$runtime'";; esac