diff options
| author | Stefan Hajnoczi | 2013-08-06 09:44:49 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2013-08-06 15:27:32 +0200 |
| commit | 23ea2ecc2a43d850bc9482068201ece5da36a448 (patch) | |
| tree | f7b276806cef137b90bd0451f06a1dedffacff59 /scripts | |
| parent | vmdk: use unsigned values for on disk header fields (diff) | |
| download | qemu-23ea2ecc2a43d850bc9482068201ece5da36a448.tar.gz qemu-23ea2ecc2a43d850bc9482068201ece5da36a448.tar.xz qemu-23ea2ecc2a43d850bc9482068201ece5da36a448.zip | |
qemu-iotests: add poke_file utility function
The new poke_file function sets bytes at an offset in a file given a
printf-style format string. It can be used to corrupt an image file for
test coverage of error paths.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
