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