Skip to content

Commit

Permalink
test/ceph_objectstore_tool.py: Don't use btrfs on FreeBSD
Browse files Browse the repository at this point in the history
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
  • Loading branch information
wjwithagen committed Aug 4, 2016
1 parent 9bef6cf commit bc03507
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/ceph_objectstore_tool.py
Expand Up @@ -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')
Expand Down

0 comments on commit bc03507

Please sign in to comment.