31 lines
806 B
Plaintext
31 lines
806 B
Plaintext
|
QA output created by 294
|
||
|
== creating a test image ==
|
||
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432
|
||
|
|
||
|
== test that key 0 opens the image ==
|
||
|
read 4096/4096 bytes at offset 0
|
||
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
||
|
|
||
|
== adding a password to slot 1 ==
|
||
|
|
||
|
== 'backup' the image header ==
|
||
|
1+0 records in
|
||
|
1+0 records out
|
||
|
|
||
|
== erase slot 0 ==
|
||
|
|
||
|
== test that key 0 doesn't open the image ==
|
||
|
qemu-io: can't open: Invalid password, cannot unlock any keyslot
|
||
|
|
||
|
== 'restore' the image header ==
|
||
|
1+0 records in
|
||
|
1+0 records out
|
||
|
|
||
|
== test that key 0 still doesn't open the image (key material is erased) ==
|
||
|
qemu-io: can't open: Invalid password, cannot unlock any keyslot
|
||
|
|
||
|
== test that key 1 still works ==
|
||
|
read 4096/4096 bytes at offset 0
|
||
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
||
|
*** done
|