From: Ian Campbell Subject: Re: [PATCH V4 18/24] libxl/gentest.py: test deep copy functions Date: Tue, 6 May 2014 15:06:54 +0100 Message-ID: <1399385214.3014.155.camel@kazak.uk.xensource.com> References: <1398949101-23320-1-git-send-email-wei.liu2@citrix.com> <1398949101-23320-19-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398949101-23320-19-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-05-01 at 13:58 +0100, Wei Liu wrote: > The test is done as followed: > 1. initialise libxl_FOO struct A > 2. deep-copy A to B > 3. generate JSON string for A and B > 4. compare two JSON strings > > If two strings are identical then we're good. > > Signed-off-by: Wei Liu Acked-by: Ian Campbell