diff --git a/qa/workunits/ceph-helpers.sh b/qa/workunits/ceph-helpers.sh index ba73e913115..4a61ef052d4 100755 --- a/qa/workunits/ceph-helpers.sh +++ b/qa/workunits/ceph-helpers.sh @@ -117,7 +117,8 @@ function test_setup() { function teardown() { local dir=$1 kill_daemons $dir KILL - if [ $(stat -f -c '%T' .) == "btrfs" ]; then + if [ `uname` != FreeBSD ] \ + && [ $(stat -f -c '%T' .) == "btrfs" ]; then __teardown_btrfs $dir fi rm -fr $dir