mirror of https://github.com/containers/podman.git
Merge pull request #10102 from edsantiago/bats
corrupt-image test: fix an oops
This commit is contained in:
commit
979f047d73
|
|
@ -77,7 +77,7 @@ function _corrupt_image_test() {
|
||||||
|
|
||||||
# Run the requested command. Confirm it succeeds, with suitable warnings
|
# Run the requested command. Confirm it succeeds, with suitable warnings
|
||||||
run_podman $*
|
run_podman $*
|
||||||
is "$output" ".*error determining parent of image" \
|
is "$output" ".*error determining parent of image.*ignoring the error" \
|
||||||
"$* with missing $what_to_rm"
|
"$* with missing $what_to_rm"
|
||||||
|
|
||||||
run_podman images -a --noheading
|
run_podman images -a --noheading
|
||||||
|
|
@ -117,7 +117,7 @@ function _corrupt_image_test() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "podman corrupt images - system reset" {
|
@test "podman corrupt images - system reset" {
|
||||||
_corrupt_image_test "image prune -a -f"
|
_corrupt_image_test "system reset -f"
|
||||||
}
|
}
|
||||||
|
|
||||||
# END actual tests
|
# END actual tests
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue