Skip to content

Commit

Permalink
Merge pull request #12085 from wjwithagen/wip-freebsd-ceph-helpers-2
Browse files Browse the repository at this point in the history
workunits/ceph-helpers.sh: Fixes for FreeBSD

Reviewed-by: Loic Dachary <ldachary@redhat.com>
  • Loading branch information
Loic Dachary committed Nov 24, 2016
2 parents 20c445c + e4629b3 commit cca0f59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qa/workunits/ceph-helpers.sh
Expand Up @@ -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
Expand Down

0 comments on commit cca0f59

Please sign in to comment.