btrfs-progs/libbtrfsutil/python
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
..
tests libbtrfsutil: fix unprivileged tests if kernel lacks support 2019-01-15 16:20:09 +01:00
.gitignore
btrfsutilpy.h libbtrfsutil: add btrfs_util_deleted_subvolumes() 2018-03-06 11:28:37 +01:00
error.c
filesystem.c libbtrfsutil: add filesystem sync helpers 2018-02-24 01:37:17 +01:00
module.c libbtrfsutil: document qgroup_inherit parameter in Python bindings 2018-11-26 16:45:18 +01:00
qgroup.c libbtrfsutil: add btrfs_util_deleted_subvolumes() 2018-03-06 11:28:37 +01:00
setup.py libbtrfsutil: add btrfs_util_is_subvolume() and btrfs_util_subvolume_id() 2018-03-06 11:28:36 +01:00
subvolume.c libbtrfsutil: change async parameters to async_ in Python bindings 2018-11-26 16:45:14 +01:00