Added auto_cache option for test on osx

This commit is contained in:
Takeshi Nakatani 2019-08-06 02:44:18 +00:00
parent b79b0b1a92
commit daba563a1c

View File

@ -152,9 +152,9 @@ function start_s3fs {
VALGRIND_EXEC="valgrind ${VALGRIND} --log-socket=127.0.1.1"
fi
# On OSX only, we need to specify the direct_io flag.
# On OSX only, we need to specify the direct_io and auto_cache flag.
if [ `uname` = "Darwin" ]; then
DIRECT_IO_OPT="-o direct_io"
DIRECT_IO_OPT="-o direct_io -o auto_cache"
else
DIRECT_IO_OPT=""
fi