summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-04-21 06:08:22 -0600
committerEd Santiago <santiago@redhat.com>2021-04-21 06:09:31 -0600
commita273d25ed12dbe47e0f611d5ef120b82ffe8a1a6 (patch)
treefd7bf1671f4f10c32ba61022b4ba4ae12f5c1979
parent41677b192aac6ae2849aa792e4ded856773712fd (diff)
downloadpodman-a273d25ed12dbe47e0f611d5ef120b82ffe8a1a6.tar.gz
podman-a273d25ed12dbe47e0f611d5ef120b82ffe8a1a6.tar.bz2
podman-a273d25ed12dbe47e0f611d5ef120b82ffe8a1a6.zip
corrupt-image test: fix an oops
Followup to #10033: actually implement the system reset test. And, just out of paranoia, extend the warning-message check. Signed-off-by: Ed Santiago <santiago@redhat.com>
-rw-r--r--test/system/330-corrupt-images.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/330-corrupt-images.bats b/test/system/330-corrupt-images.bats
index 9836de363..c51cc8d46 100644
--- a/test/system/330-corrupt-images.bats
+++ b/test/system/330-corrupt-images.bats
@@ -77,7 +77,7 @@ function _corrupt_image_test() {
# Run the requested command. Confirm it succeeds, with suitable warnings
run_podman $*
- is "$output" ".*error determining parent of image" \
+ is "$output" ".*error determining parent of image.*ignoring the error" \
"$* with missing $what_to_rm"
run_podman images -a --noheading
@@ -117,7 +117,7 @@ function _corrupt_image_test() {
}
@test "podman corrupt images - system reset" {
- _corrupt_image_test "image prune -a -f"
+ _corrupt_image_test "system reset -f"
}
# END actual tests