test/system: Keep empty lines to prevent missing and spurious newlines

https://github.com/containers/toolbox/pull/1195
This commit is contained in:
Debarshi Ray 2022-12-09 09:42:32 +01:00
parent 303c7ae99a
commit 26ed682cd1

View file

@ -35,7 +35,7 @@ teardown() {
pull_default_image
run $TOOLBOX rmi --all
run --keep-empty-lines $TOOLBOX rmi --all
assert_success
assert_output ""
@ -53,7 +53,7 @@ teardown() {
create_container foo
start_container foo
run $TOOLBOX rmi --all
run --keep-empty-lines $TOOLBOX rmi --all
assert_failure
assert_output --regexp "Error: image .* has dependent children"
@ -70,7 +70,7 @@ teardown() {
create_container foo
start_container foo
run $TOOLBOX rmi --all --force
run --keep-empty-lines $TOOLBOX rmi --all --force
assert_success
assert_output ""