mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 01:08:54 +00:00
Merge pull request #1045 from gaul/test/umount-s3fs
Correct macOS integration test umount
This commit is contained in:
commit
c18fc901c4
@ -221,8 +221,7 @@ function start_s3fs {
|
|||||||
function stop_s3fs {
|
function stop_s3fs {
|
||||||
# Retry in case file system is in use
|
# Retry in case file system is in use
|
||||||
if [ `uname` = "Darwin" ]; then
|
if [ `uname` = "Darwin" ]; then
|
||||||
df | grep -q $TEST_BUCKET_MOUNT_POINT_1
|
if df | grep -q $TEST_BUCKET_MOUNT_POINT_1; then
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
retry 10 df | grep -q $TEST_BUCKET_MOUNT_POINT_1 && umount $TEST_BUCKET_MOUNT_POINT_1
|
retry 10 df | grep -q $TEST_BUCKET_MOUNT_POINT_1 && umount $TEST_BUCKET_MOUNT_POINT_1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user