btrfs-progs/libbtrfsutil/python/tests
Omar Sandoval 41e19f703d libbtrfsutil: fix unprivileged tests if kernel lacks support
I apparently didn't test this on a pre-4.18 kernel.
test_subvolume_info_unprivileged() checks for an ENOTTY, but this
doesn't seem to work correctly with subTest().
test_subvolume_iterator_unprivileged() doesn't have a check at all. Add
an explicit check to both before doing the actual test.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2019-01-15 16:20:09 +01:00
..
__init__.py libbtrfsutil: allow tests to create multiple Btrfs instances 2018-11-26 16:45:28 +01:00
test_filesystem.py libbtrfsutil: add filesystem sync helpers 2018-02-24 01:37:17 +01:00
test_qgroup.py libbtrfsutil: add btrfs_util_create_snapshot() 2018-03-06 11:28:37 +01:00
test_subvolume.py libbtrfsutil: fix unprivileged tests if kernel lacks support 2019-01-15 16:20:09 +01:00