From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM50y-0000Qx-K7 for qemu-devel@nongnu.org; Fri, 07 Mar 2014 19:21:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WM50t-0002TQ-H5 for qemu-devel@nongnu.org; Fri, 07 Mar 2014 19:21:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:17415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM50t-0002TE-7r for qemu-devel@nongnu.org; Fri, 07 Mar 2014 19:21:15 -0500 Message-ID: <531A6277.3030401@redhat.com> Date: Fri, 07 Mar 2014 17:21:11 -0700 From: Eric Blake MIME-Version: 1.0 References: <1394232956-27852-1-git-send-email-mreitz@redhat.com> <1394232956-27852-3-git-send-email-mreitz@redhat.com> In-Reply-To: <1394232956-27852-3-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CFHXLDk55jikRnsrRtqqSHPWN7iMjt7jB" Subject: Re: [Qemu-devel] [PATCH v2 02/12] check-qdict: Add test for qdict_join() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , =?UTF-8?B?QmVub8OudCBDYW5ldA==?= , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CFHXLDk55jikRnsrRtqqSHPWN7iMjt7jB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/07/2014 03:55 PM, Max Reitz wrote: > Add some test cases for qdict_join(). >=20 > Signed-off-by: Max Reitz > --- > tests/check-qdict.c | 87 +++++++++++++++++++++++++++++++++++++++++++++= ++++++++ > 1 file changed, 87 insertions(+) Reviewed-by: Eric Blake > + /* Test everything once without overwrite and once with */ > + do > + { > + } > + while (overwrite ^=3D true); That has got to be the coolest do-while I've seen in a long time :) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --CFHXLDk55jikRnsrRtqqSHPWN7iMjt7jB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTGmJ3AAoJEKeha0olJ0NqnZMH/3dnrKwUnj9fquIi7/MA9y0p cozuIJtrJUW3/BVflAcC1UwpX2K3GpgUUUcD+lTCpcw0ZtCH1Wdp/CzGw1GPhjrH 0aKr0G2sLYmfG1b0rtElvs1aFrPb30UrOxBrvz5rrTKC/2E4DQ055pQzaJc7Z82V kciH2tH6u6L7Ib5H6n64GYyzmsGyEJ+rY9tcCgkU73ey2473uSPeKV5raL6PbcoT pqaCb2P2eUxlAAFymWZ2mvV7mwUDFw0ZPa4uXqGALVjYnO2S2ngTFrNmYaQPFbyZ +G+RhLWq5ZTMcyXKTs0fURGkiwcmzgiF8dGtXjohdYppYXfzJlWiQHMyT77FdYU= =Q85Y -----END PGP SIGNATURE----- --CFHXLDk55jikRnsrRtqqSHPWN7iMjt7jB--