XArray tests: Add check_insert
authorMatthew Wilcox <willy@infradead.org>
Sun, 10 Mar 2019 03:25:27 +0000 (22:25 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 3 Jun 2019 03:00:24 +0000 (23:00 -0400)
commit12fd2aee6db765ab4e97c4a37e6d1f6c10e74ee6
treeec159d887f87dac87abd4562b6cf4f78d0d620df
parent5c089fd0c73411f2170ab795c9ffc16718c7d007
XArray tests: Add check_insert

A simple test which just checks that inserting an entry into an empty
array succeeds.  Try various different interesting indices.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
lib/test_xarray.c