Daniel Henrique Barboza | 8bb3b02 | 2020-01-30 18:39:07 -0300 | [diff] [blame] | 1 | QA output created by 282 |
| 2 | == Create non-UTF8 secret == |
| 3 | == Throws an error because of invalid UTF-8 secret == |
Daniel Henrique Barboza | 8bb3b02 | 2020-01-30 18:39:07 -0300 | [diff] [blame] | 4 | Formatting 'vol.img', fmt=luks size=4194304 key-secret=sec0 |
Eric Blake | 4e2f441 | 2020-07-06 15:39:45 -0500 | [diff] [blame] | 5 | qemu-img: vol.img: Data from secret sec0 is not valid UTF-8 |
Daniel Henrique Barboza | 8bb3b02 | 2020-01-30 18:39:07 -0300 | [diff] [blame] | 6 | == Image file should not exist after the error == |
| 7 | == Create a stub image file and run qemu-img again == |
Daniel Henrique Barboza | 8bb3b02 | 2020-01-30 18:39:07 -0300 | [diff] [blame] | 8 | Formatting 'vol.img', fmt=luks size=4194304 key-secret=sec0 |
Eric Blake | 4e2f441 | 2020-07-06 15:39:45 -0500 | [diff] [blame] | 9 | qemu-img: vol.img: Data from secret sec0 is not valid UTF-8 |
Daniel Henrique Barboza | 8bb3b02 | 2020-01-30 18:39:07 -0300 | [diff] [blame] | 10 | == Pre-existing image file should also be deleted after the error == |
Eric Blake | 4e2f441 | 2020-07-06 15:39:45 -0500 | [diff] [blame] | 11 | *** done |