diff --git a/qa/workunits/ceph-helpers.sh b/qa/workunits/ceph-helpers.sh index f441830a142..2abf066261f 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