mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 04:30:02 +00:00
f29f4c25eb
Instead of buffering the test output into a StringIO, patch it on the fly by wrapping sys.stdout's write method. This can be done unconditionally, even if using -d, which makes execute_unittest a bit simpler. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Tested-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Message-Id: <20210323181928.311862-2-pbonzini@redhat.com> Message-Id: <20210503110110.476887-2-pbonzini@redhat.com> Signed-off-by: Max Reitz <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
|