From daba563a1c1e029d05180dae25d2ef9b52efe718 Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Tue, 6 Aug 2019 02:44:18 +0000 Subject: [PATCH] Added auto_cache option for test on osx --- test/integration-test-common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration-test-common.sh b/test/integration-test-common.sh index f5d2bd4..ab0e096 100644 --- a/test/integration-test-common.sh +++ b/test/integration-test-common.sh @@ -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