]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/ceph_objectstore_tool.py: Don't use btrfs on FreeBSD 10507/head
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 29 Jul 2016 18:41:28 +0000 (20:41 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Thu, 4 Aug 2016 07:38:16 +0000 (09:38 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/ceph_objectstore_tool.py

index 60b69f4da736de2db8332663b6d344302281cf9a..9f658cab8a6f6d743f720b3a41a14197570f79ce 100755 (executable)
@@ -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')