mirror of
https://github.com/containers/podman
synced 2024-10-20 17:23:30 +00:00
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>
This commit is contained in:
parent
5cf865926e
commit
f732e2edcb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue