mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 15:00:34 +00:00
a2cd85f6ac
This commit adds two tests that cover the new blockdev-amend functionality of luks and qcow2 driver Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> [mreitz: Let 295 verify that LUKS works; drop 295 and 296 from the auto group] Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200625125548.870061-20-mreitz@redhat.com>
41 lines
1.6 KiB
Plaintext
41 lines
1.6 KiB
Plaintext
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_erase_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_erase_key"}}
|
|
{"return": {}}
|
|
Job failed: Invalid password, cannot unlock any keyslot
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
Job failed: Refusing to overwrite active keyslot 2 - please erase it first
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_erase_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_erase_key"}}
|
|
{"return": {}}
|
|
Job failed: All the active keyslots match the (old) password that was given and erasing them will erase all the data in the image irreversibly - refusing operation
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_erase_key"}}
|
|
{"return": {}}
|
|
{"execute": "job-dismiss", "arguments": {"id": "job_erase_key"}}
|
|
{"return": {}}
|
|
...
|
|
----------------------------------------------------------------------
|
|
Ran 3 tests
|
|
|
|
OK
|