list: improve test coverage to 100%
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 1 Jan 2011 06:42:40 +0000 (17:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 1 Jan 2011 06:42:40 +0000 (17:12 +1030)
commit3d4c75ff37b1c5a7bfd8847a788aa1d09b07d466
tree06c668b67c681c0efe71cc5685989f10afe81d90
parentdc0aafc9d58e231f5d6d70c9838b151a162428b1
list: improve test coverage to 100%

In particular, we test the corruption cases.
ccan/list/list.c
ccan/list/test/run-check-corrupt.c [new file with mode: 0644]
ccan/list/test/run-list_del_from-assert.c [new file with mode: 0644]