test_ida: check_ida_destroy and check_ida_alloc
authorMatthew Wilcox <willy@infradead.org>
Mon, 18 Jun 2018 22:39:28 +0000 (18:39 -0400)
committerMatthew Wilcox <willy@infradead.org>
Wed, 22 Aug 2018 03:54:21 +0000 (23:54 -0400)
commitf272668deb9108b6118a85ffd73886b9a92c1002
tree2e0b2713c5ef5734d15564fe18d3cba10eaa27e4
parent5c78b0b1ebe16fbae39a1cada79ab067965828f5
test_ida: check_ida_destroy and check_ida_alloc

Move these tests from the userspace test-suite to the kernel test-suite.
Also convert check_ida_random to the new API.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
lib/test_ida.c
tools/testing/radix-tree/idr-test.c