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