mirror of
https://github.com/containers/podman.git
synced 2025-12-12 09:50:25 +08:00
Merge pull request #3290 from edsantiago/bats
BATS tests - get working again
This commit is contained in:
@@ -14,7 +14,7 @@ Distribution:
|
||||
OCIRuntime:\\\s\\\+package:
|
||||
os:
|
||||
rootless:
|
||||
insecure registries:
|
||||
registries:
|
||||
store:
|
||||
GraphDriverName:
|
||||
GraphRoot:
|
||||
@@ -37,9 +37,7 @@ RunRoot:
|
||||
|
||||
tests="
|
||||
host.BuildahVersion | [0-9.]
|
||||
host.Conmon.package | $expr_nvr
|
||||
host.Conmon.path | $expr_path
|
||||
host.OCIRuntime.package | $expr_nvr
|
||||
host.OCIRuntime.path | $expr_path
|
||||
store.ConfigFile | $expr_path
|
||||
store.GraphDriverName | [a-z0-9]\\\+\\\$
|
||||
|
||||
@@ -87,6 +87,10 @@ verify_iid_and_name() {
|
||||
|
||||
|
||||
@test "podman load - will not read from tty" {
|
||||
if [ ! -t 0 ]; then
|
||||
skip "STDIN is not a tty"
|
||||
fi
|
||||
|
||||
run_podman 125 load
|
||||
is "$output" \
|
||||
"Error: cannot read from terminal. Use command-line redirection" \
|
||||
|
||||
Reference in New Issue
Block a user