diff --git a/s3fs/test/integration-test-common.sh b/s3fs/test/integration-test-common.sh index 2bcde29..cf2d0d1 100644 --- a/s3fs/test/integration-test-common.sh +++ b/s3fs/test/integration-test-common.sh @@ -2,7 +2,7 @@ S3FS=../src/s3fs -S3FS_CREDENTIALS_FILE=~/.passwd-s3fs +S3FS_CREDENTIALS_FILE=$(eval echo ~${SUDO_USER}/.passwd-s3fs) TEST_BUCKET_1=${SUDO_USER}-s3fs-integration-test TEST_BUCKET_MOUNT_POINT_1=/mnt/${TEST_BUCKET_1} diff --git a/s3fs/test/small-integration-test.sh b/s3fs/test/small-integration-test.sh index 2261316..90f4a10 100755 --- a/s3fs/test/small-integration-test.sh +++ b/s3fs/test/small-integration-test.sh @@ -16,7 +16,7 @@ if [ ! -d $TEST_BUCKET_MOUNT_POINT_1 ] then mkdir -p $TEST_BUCKET_MOUNT_POINT_1 fi -$S3FS $TEST_BUCKET_1 $TEST_BUCKET_MOUNT_POINT_1 +$S3FS $TEST_BUCKET_1 $TEST_BUCKET_MOUNT_POINT_1 -o passwd_file=$S3FS_CREDENTIALS_FILE CUR_DIR=`pwd` cd $TEST_BUCKET_MOUNT_POINT_1