btrfs-progs: tests: make the ioctl-test actually useful
authorDavid Sterba <dsterba@suse.com>
Thu, 6 Oct 2016 11:40:24 +0000 (13:40 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Oct 2016 12:57:19 +0000 (14:57 +0200)
commit6f306e8d62f8cca23fcb3aa56b3594d1ac531359
tree3e85bfcabec04b1c4c0fe6bd25d86a5cd3caf467
parent32a168684e1564f54245f907e1a7c9c6b8d6a5d8
btrfs-progs: tests: make the ioctl-test actually useful

Enhance the test to verify ioctl uniqueness, compare the defined values
against the hardcoded expected values, and take care of the 32bit/64bit
compatibility workarounds.

Signed-off-by: David Sterba <dsterba@suse.com>
Makefile.in
ioctl-test.c