libbtrfsutil: fix test assumptions about top-level subvolume
authorOmar Sandoval <osandov@fb.com>
Thu, 29 Mar 2018 07:53:57 +0000 (00:53 -0700)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 20:57:57 +0000 (22:57 +0200)
commitfeccd7a8180f3f0f48ca23692ad5f71783163450
tree4f07698eb1b7774a4574e7e2fbe38d463eeaa49a
parent7cdd58b2e92863f055c70ef7134d3a70760473c7
libbtrfsutil: fix test assumptions about top-level subvolume

Since "btrfs-progs: mkfs: add uuid and otime to ROOT_ITEM of, FS_TREE",
the top-level subvolume has a non-zero UUID, ctime, and otime. Fix the
subvolume_info() test to not check for zero.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
libbtrfsutil/python/tests/test_subvolume.py