mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix qemu-img rebase code to support Qemu 6.1. Ref https://github.com/GNS3/gns3-server/pull/1962
This commit is contained in:
1 parent
99d7d0c769
commit
611570a863
3 files changed
+10
-6
No files matched your search
@@ -73,5 +73,5 @@ async def test_rebase(loop, tmpdir):
|
||||
qcow2 = Qcow2(str(tmpdir / "linked.qcow2"))
|
||||
assert qcow2.version == 3
|
||||
assert qcow2.backing_file == "empty8G.qcow2"
|
||||
await qcow2.rebase(qemu_img(), str(tmpdir / "empty16G.qcow2"))
|
||||
await qcow2.rebase(qemu_img(), str(tmpdir / "empty16G.qcow2"), "qcow2")
|
||||
assert qcow2.backing_file == str(tmpdir / "empty16G.qcow2")
|
||||
Reference in new issue
Block a user