mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-09-21 13:59:01 +00:00
32 lines
686 B
Bash
Executable File
32 lines
686 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#
|
|
# Test s3fs-fuse file system operations with
|
|
#
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
|
|
# Require root
|
|
REQUIRE_ROOT=require-root.sh
|
|
#source $REQUIRE_ROOT
|
|
|
|
source integration-test-common.sh
|
|
|
|
start_s3proxy
|
|
|
|
#
|
|
# enable_content_md5
|
|
# Causes s3fs to validate file contents. This isn't included in the common
|
|
# options used by start_s3fs because tests may be performance tests
|
|
# singlepart_copy_limit
|
|
# Appeared in upstream s3fs-fuse tests, possibly a limitation of S3Proxy
|
|
# TODO: github archaeology to see why it was added.
|
|
#
|
|
start_s3fs -o enable_content_md5 \
|
|
-o singlepart_copy_limit=$((10 * 1024))
|
|
|
|
./integration-test-main.sh
|
|
|
|
echo "$0: tests complete."
|