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