From: Willem Jan Withagen Date: Fri, 29 Jul 2016 18:41:28 +0000 (+0200) Subject: test/ceph_objectstore_tool.py: Don't use btrfs on FreeBSD X-Git-Tag: v11.1.0~257^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F10507%2Fhead;p=ceph.git test/ceph_objectstore_tool.py: Don't use btrfs on FreeBSD Signed-off-by: Willem Jan Withagen --- diff --git a/src/test/ceph_objectstore_tool.py b/src/test/ceph_objectstore_tool.py index 60b69f4da736..9f658cab8a6f 100755 --- a/src/test/ceph_objectstore_tool.py +++ b/src/test/ceph_objectstore_tool.py @@ -1889,6 +1889,8 @@ def main(argv): def remove_btrfs_subvolumes(path): + if platform.system() == "FreeBSD": + return result = subprocess.Popen("stat -f -c '%%T' %s" % path, shell=True, stdout=subprocess.PIPE) for line in result.stdout: filesystem = decode(line).rstrip('\n')