2015-03-09 17:33:47 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2015-09-11 08:25:37 +00:00
|
|
|
#
|
2016-02-05 12:24:13 +00:00
|
|
|
# Test s3fs-fuse file system operations with
|
2015-09-11 08:25:37 +00:00
|
|
|
#
|
|
|
|
|
2015-03-09 17:33:47 +00:00
|
|
|
set -o errexit
|
2010-11-13 23:59:23 +00:00
|
|
|
|
|
|
|
# Require root
|
|
|
|
REQUIRE_ROOT=require-root.sh
|
2015-01-12 22:46:24 +00:00
|
|
|
#source $REQUIRE_ROOT
|
2015-03-09 17:33:47 +00:00
|
|
|
|
2016-02-05 12:24:13 +00:00
|
|
|
source integration-test-common.sh
|
2015-03-09 17:33:47 +00:00
|
|
|
|
2016-02-05 12:24:13 +00:00
|
|
|
start_s3proxy
|
2010-11-13 23:59:23 +00:00
|
|
|
|
2016-02-05 12:24:13 +00:00
|
|
|
#
|
|
|
|
# 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))
|
2010-12-20 05:26:27 +00:00
|
|
|
|
2016-02-05 12:24:13 +00:00
|
|
|
./integration-test-main.sh
|
2015-02-24 13:17:59 +00:00
|
|
|
|
2016-02-05 12:24:13 +00:00
|
|
|
echo "$0: tests complete."
|