test-layers: Test .cache usage
commitef0deb5d294458f00e798222b1e9e8c18b44a52b
authorEric Blake <eblake@redhat.com>
Fri, 10 May 2019 02:20:37 +0000 (9 21:20 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 17 May 2019 21:27:34 +0000 (17 16:27 -0500)
tree9eaac327777429de8bae17dfa7ef53252a097175
parent5ee7bd2954d702fdf120bc7f89f78922254604a7
test-layers: Test .cache usage

This includes hacking the test client to send NBD_CMD_CACHE to the
server, and that all layers are visited in the correct order.

Signed-off-by: Eric Blake <eblake@redhat.com>
tests/test-layers-filter.c
tests/test-layers-plugin.c
tests/test-layers.c