summary refs log tree commit diff stats
path: root/tests/test-qobject-output-visitor.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2021-01-26 13:38:34 +0100
committerMax Reitz <mreitz@redhat.com>2021-01-26 14:36:37 +0100
commitbb24cdc5efee580e81f71c5ff0fd980f2cc179d0 (patch)
treeca18a3f7f809f0b1c5e2c77241a741bc3f5c2554 /tests/test-qobject-output-visitor.c
parent014bb4b0e545b70f903adcdf6f118351b7cfaf7b (diff)
downloadfocaccia-qemu-bb24cdc5efee580e81f71c5ff0fd980f2cc179d0.tar.gz
focaccia-qemu-bb24cdc5efee580e81f71c5ff0fd980f2cc179d0.zip
iotests/178: Pass value to invalid option
ccd3b3b8112 has deprecated short-hand boolean options (i.e., options
with values).  All options without values are interpreted as boolean
options, so this includes the invalid option "snapshot.foo" used in
iotest 178.

So after ccd3b3b8112, 178 fails with:

  +qemu-img: warning: short-form boolean option 'snapshot.foo' deprecated
  +Please use snapshot.foo=on instead

Suppress that deprecation warning by passing some value to it (it does
not matter which, because the option is invalid anyway).

Fixes: ccd3b3b8112b670fdccf8a392b8419b173ffccb4
       ("qemu-option: warn for short-form boolean options")
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210126123834.115915-1-mreitz@redhat.com>
Diffstat (limited to 'tests/test-qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions