| 1 | QA output created by 282 |
| 2 | == Create non-UTF8 secret == |
| 3 | == Throws an error because of invalid UTF-8 secret == |
| 4 | Formatting 'vol.img', fmt=luks size=4194304 key-secret=sec0 |
| 5 | qemu-img: vol.img: Data from secret sec0 is not valid UTF-8 |
| 6 | == Image file should not exist after the error == |
| 7 | == Create a stub image file and run qemu-img again == |
| 8 | Formatting 'vol.img', fmt=luks size=4194304 key-secret=sec0 |
| 9 | qemu-img: vol.img: Data from secret sec0 is not valid UTF-8 |
| 10 | == Pre-existing image file should also be deleted after the error == |
| 11 | *** done |