[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 10/10] iotests: Add test for the JSON protocol
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 10/10] iotests: Add test for the JSON protocol |
Date: |
Wed, 05 Mar 2014 13:27:12 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/05/2014 01:15 PM, Max Reitz wrote:
>>> + \"filename\": \"$TEST_IMG\"
>> Are we guaranteed that $TEST_IMG will not contain any " which would
>> render this invalid JSON?
>
> Probably not, but do you have an idea to circumvent this?
If nothing else, we can at least be paranoid with something like:
case $TEST_IMG in
*'"'*) skip the test... ;;
esac
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH 05/10] block/json: Add bdrv_co_get_block_status(), (continued)
[Qemu-devel] [PATCH 07/10] block/json: Add bdrv_get_specific_info(), Max Reitz, 2014/03/03
[Qemu-devel] [PATCH 09/10] block/qapi: Ignore filters on top for format name, Max Reitz, 2014/03/03
[Qemu-devel] [PATCH 10/10] iotests: Add test for the JSON protocol, Max Reitz, 2014/03/03
[Qemu-devel] [PATCH 08/10] block/raw_bsd: Add bdrv_get_specific_info(), Max Reitz, 2014/03/03
[Qemu-devel] [PATCH 03/10] block/json: Add functions for cache control, Max Reitz, 2014/03/03
[Qemu-devel] [PATCH 06/10] block/json: Add ioctl etc., Max Reitz, 2014/03/03
Re: [Qemu-devel] [PATCH 00/10] block/json: Add JSON protocol driver, Eric Blake, 2014/03/05