mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
Merge pull request #12085 from wjwithagen/wip-freebsd-ceph-helpers-2
workunits/ceph-helpers.sh: Fixes for FreeBSD Reviewed-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
commit
cca0f59156
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user