tests/test-vmstate.c: test array of ptr with null
commitcc95883185d7192aa3c455bb615bbe19a1e7d1e7
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Wed, 22 Feb 2017 16:01:18 +0000 (22 17:01 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 28 Feb 2017 11:30:06 +0000 (28 11:30 +0000)
treee84ab667f11a11ea0cc2ef949b521880f28e581c
parent07d4e69147b4957e617812206a62a86f03294ad3
tests/test-vmstate.c: test array of ptr with null

Add test for VMSTATE_ARRAY_OF_POINTER_TO_STRUCT with an array
containing some null pointer.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20170222160119.52771-5-pasic@linux.vnet.ibm.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
   Fixed type case in assert to uintptr_t rather than uint64_t
tests/test-vmstate.c