mirror of
https://github.com/ceph/ceph
synced 2024-12-23 03:44:23 +00:00
workunits/ceph-helpers.sh: Fixes for FreeBSD
- stat(1) does not have '%T' Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
parent
eb8b4c8897
commit
e4629b3397
@ -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