Skip to content

Commit

Permalink
Merge pull request autotest#5409 from misanjumn/virsh-dump-format
Browse files Browse the repository at this point in the history
Fix virsh dump memory-only format kdump-* failure
  • Loading branch information
dzhengfy authored Jan 28, 2024
2 parents 354fc05 + d48a87d commit 61bf684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvirt/tests/src/virsh_cmd/domain/virsh_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def check_dump_format(dump_image_format, dump_file):
return False
logging.debug("Run file %s output: %s", dump_file, output)
actual_format = output.split(" ")[1]
if actual_format.lower() != dump_image_format.lower():
if actual_format.lower() not in (dump_image_format.lower(), "flattened"):
logging.error("Compress dumped file to %s fail: %s" %
(dump_image_format, actual_format))
return False
Expand Down

0 comments on commit 61bf684

Please sign in to comment.