blob: 67db7ab15affae3789b5afdc2d190c7eadcdae2c [file] [log] [blame]
Daniel Henrique Barboza8bb3b022020-01-30 18:39:07 -03001QA output created by 282
2== Create non-UTF8 secret ==
3== Throws an error because of invalid UTF-8 secret ==
Daniel Henrique Barboza8bb3b022020-01-30 18:39:07 -03004Formatting 'vol.img', fmt=luks size=4194304 key-secret=sec0
Eric Blake4e2f4412020-07-06 15:39:45 -05005qemu-img: vol.img: Data from secret sec0 is not valid UTF-8
Daniel Henrique Barboza8bb3b022020-01-30 18:39:07 -03006== Image file should not exist after the error ==
7== Create a stub image file and run qemu-img again ==
Daniel Henrique Barboza8bb3b022020-01-30 18:39:07 -03008Formatting 'vol.img', fmt=luks size=4194304 key-secret=sec0
Eric Blake4e2f4412020-07-06 15:39:45 -05009qemu-img: vol.img: Data from secret sec0 is not valid UTF-8
Daniel Henrique Barboza8bb3b022020-01-30 18:39:07 -030010== Pre-existing image file should also be deleted after the error ==
Eric Blake4e2f4412020-07-06 15:39:45 -050011*** done