summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-01-06 08:32:33 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2022-01-06 16:21:02 -0500
commit1941d45e327c54eb054d6f63d852dfebfe19c18b (patch)
tree1f79cde5f519715ac5b151f5e16cfb76b7b08ba1 /test/system
parentd62752819214ee7f910e25d368d427fbcac74b17 (diff)
downloadpodman-1941d45e327c54eb054d6f63d852dfebfe19c18b.tar.gz
podman-1941d45e327c54eb054d6f63d852dfebfe19c18b.tar.bz2
podman-1941d45e327c54eb054d6f63d852dfebfe19c18b.zip
add OCI Runtime name to errors
It would be easier to diagnose OCI runtime errors if the error actually had the name of the OCI runtime that produced the error. [NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r--test/system/030-run.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats
index d81a0758c..317026710 100644
--- a/test/system/030-run.bats
+++ b/test/system/030-run.bats
@@ -14,8 +14,8 @@ 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 attempted to invoke a command that was not found"
- err_no_exec_dir="Error: open executable: Operation not permitted: OCI permission denied"
+ err_no_such_cmd="Error:.*executable file.* not found in \$PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found"
+ err_no_exec_dir="Error:.*open executable: Operation not permitted: OCI permission denied"
fi
tests="