summaryrefslogtreecommitdiff
path: root/test/system/030-run.bats
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-09-29 06:20:21 -0600
committerEd Santiago <santiago@redhat.com>2020-09-29 06:20:21 -0600
commitf732e2edcb5a1b925aa2bea65bfe1162edec032e (patch)
tree70fd521be91c5a6dcf8bb9fa55e3be167609a459 /test/system/030-run.bats
parent5cf865926ed62c8baa691f96e8fe5f585e077083 (diff)
downloadpodman-f732e2edcb5a1b925aa2bea65bfe1162edec032e.tar.gz
podman-f732e2edcb5a1b925aa2bea65bfe1162edec032e.tar.bz2
podman-f732e2edcb5a1b925aa2bea65bfe1162edec032e.zip
Gating-test fix: deal with new crun error msg
crun changed an error message: https://github.com/containers/crun/pull/439 It's a good change, absolutely the right thing to do, but it broke gating tests. Fix tests so they handle both old and new format. Fixes: #7814 Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/030-run.bats')
-rw-r--r--test/system/030-run.bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats
index 4a286d3ae..b3599cc17 100644
--- a/test/system/030-run.bats
+++ b/test/system/030-run.bats
@@ -14,7 +14,7 @@ load helpers
# ...but check the configured runtime engine, and switch to crun as needed
run_podman info --format '{{ .Host.OCIRuntime.Path }}'
if expr "$output" : ".*/crun"; then
- err_no_such_cmd="Error: executable file not found in \$PATH: No such file or directory: OCI runtime command not found error"
+ err_no_such_cmd="Error: executable file.* not found in \$PATH: No such file or directory: OCI runtime command not found error"
err_no_exec_dir="Error: open executable: Operation not permitted: OCI runtime permission denied error"
fi