2010-11-13 23:59:23 +00:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
# Require root
|
|
|
|
REQUIRE_ROOT=require-root.sh
|
2015-01-12 22:46:24 +00:00
|
|
|
#source $REQUIRE_ROOT
|
2010-11-13 23:59:23 +00:00
|
|
|
|
|
|
|
# Mount the bucket
|
|
|
|
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 -o passwd_file=$S3FS_CREDENTIALS_FILE
|
2011-09-26 15:20:14 +00:00
|
|
|
|
2015-01-12 22:46:24 +00:00
|
|
|
./integration-test-main.sh $TEST_BUCKET_MOUNT_POINT_1
|
2010-11-13 23:59:23 +00:00
|
|
|
|
|
|
|
umount $TEST_BUCKET_MOUNT_POINT_1
|
2010-12-20 05:26:27 +00:00
|
|
|
|
|
|
|
echo "All tests complete."
|