| 1 | QA output created by 294 |
| 2 | == creating a test image == |
| 3 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 |
| 4 | |
| 5 | == test that key 0 opens the image == |
| 6 | read 4096/4096 bytes at offset 0 |
| 7 | 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 8 | |
| 9 | == adding a password to slot 1 == |
| 10 | |
| 11 | == 'backup' the image header == |
| 12 | 1+0 records in |
| 13 | 1+0 records out |
| 14 | |
| 15 | == erase slot 0 == |
| 16 | |
| 17 | == test that key 0 doesn't open the image == |
| 18 | qemu-io: can't open: Invalid password, cannot unlock any keyslot |
| 19 | |
| 20 | == 'restore' the image header == |
| 21 | 1+0 records in |
| 22 | 1+0 records out |
| 23 | |
| 24 | == test that key 0 still doesn't open the image (key material is erased) == |
| 25 | qemu-io: can't open: Invalid password, cannot unlock any keyslot |
| 26 | |
| 27 | == test that key 1 still works == |
| 28 | read 4096/4096 bytes at offset 0 |
| 29 | 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
| 30 | *** done |