Andrew Gaul
25a03c370a
Upgrade to S3Proxy 1.5.2
...
Release notes:
https://github.com/andrewgaul/s3proxy/releases/tag/s3proxy-1.5.2
2017-03-02 10:55:24 -08:00
Takeshi Nakatani
8a11d7bc2f
Merge pull request #505 from andrewgaul/spelling
...
Correct typos
2016-11-20 09:10:27 +09:00
Takeshi Nakatani
7aae4782d9
Merge pull request #504 from andrewgaul/test
...
Use describe helper function
2016-11-20 09:10:16 +09:00
Andrew Gaul
d375bca0d0
Correct typos
2016-11-19 15:57:41 -08:00
Andrew Gaul
cd0c8599cc
Use describe helper function
2016-11-19 15:36:02 -08:00
Andrew Gaul
20878a1618
Add missing call to mtime test
2016-11-19 15:10:41 -08:00
Andrew Gaul
cafe6015e3
Upgrade to S3Proxy 1.5.1
...
Enabled previously broken tests and test with default v4 signer.
Release notes:
https://github.com/andrewgaul/s3proxy/releases/tag/s3proxy-1.5.0
https://github.com/andrewgaul/s3proxy/releases/tag/s3proxy-1.5.1
2016-11-15 23:09:48 -08:00
Takeshi Nakatani
ec110bb0f3
Added small logic in test script for test_chown
2016-09-11 13:41:50 +00:00
Takeshi Nakatani
232befb52a
Added small logic in test script for test_chown
2016-09-11 13:37:53 +00:00
Takeshi Nakatani
f363c21ff5
Added comments in failure message for test_chown
2016-09-11 13:28:40 +00:00
Tianlong Wu
cf23dc78ab
Use 'return' instead of 'exit' in test
2016-04-22 16:24:26 +08:00
Tianlong Wu
115bd51f3f
Fix a bug of truncating empty file
2016-04-22 14:49:37 +08:00
Robb Kistler
4e583583cd
Test for writing after an lseek past end of file
...
This is a test to demonstrate Issue #375
2016-03-23 16:03:38 -07:00
Takeshi Nakatani
6472eedddc
Supported regex type for additional header format.
2016-02-07 05:08:52 +00:00
Robb Kistler
7bfaa24d25
Integration test summary, continue on error
...
Details in README.md and s3fs-integration-test-common.sh
Factor out s3fs-fuse and s3proxy start/stop. The plan is to make it easier to
add test suites besides small-integration-test.sh that can test with various
s3fs options.
Each test run starts in a uniquely named at the top of the bucket. This allows
multiple runs against persistent storage without worrying about cleaning
up in error conditions that leave artifiacts behind.
Tests continues if a test case fails.
Results are summarized at the end of the test run
Environment variable to control debug level of s3fs-fuse
Environment variable to enable public bucket (makes it easier to poke
around with tools like curl)
Environment variable to start s3fs-fuse under valgrind
Environment variable that casues script sets up s3fs-fuse and then wait
indefinitely, making it easy to experiment manually with the mount
point.
Additional test case
2016-02-05 05:40:28 -08:00
Robb Kistler
1927ccfe0a
Don't loop on fusermount if mountpoint is gone
2015-12-15 15:07:00 -08:00
Takeshi Nakatani
4bd5ffb0fa
Update integration-test-main.sh as additional change for #300
2015-12-03 13:44:43 +00:00
bazeli
b85bd53336
Update integration-test-main.sh
...
new test for mtime preservation copying file with `cp -p`
2015-11-24 17:29:54 +09:00
Robb Kistler
a3ef5c820d
Add file truncate test
...
This test creates a file with contents, truncates it to
zero and verifies that it is zero length.
2015-11-03 21:47:15 -08:00
Takeshi Nakatani
497b108109
Merge pull request #285 from andrewgaul/symlink-test
...
Add test for symlink
2015-11-01 18:46:06 +09:00
Andrew Gaul
86f95b05bf
Add test for symlink
2015-10-24 14:20:26 -07:00
Takeshi Nakatani
1b323a6252
Changed debug option to dbglevel in test script.
2015-10-18 17:31:31 +00:00
Robb Kistler
3d5b8a7672
Use 127.0.0.1 not localhost in s3proxy wait loop
...
localhost doesn't always resolve to 127.0.0.1
2015-09-16 00:06:41 -07:00
Takeshi Nakatani
489f9edec7
Merge pull request #266 from RobbKistler/fix-integration-test
...
Cleanup from PR #265
2015-09-13 16:44:41 +09:00
Robb Kistler
718db57ade
Code review changes
...
Missed some cleanup from the code review
2015-09-13 00:31:56 -07:00
Takeshi Nakatani
639dcf19b0
Merge pull request #265 from RobbKistler/fix-integration-test
...
Fix integration tests
2015-09-13 15:59:36 +09:00
Robb Kistler
6b21d9d424
Code review changes
2015-09-11 16:09:00 -07:00
Robb Kistler
dac9844765
Fix remove_nonempty_directory test bug
...
Wrap the attempt to rmdir in an if statement, otherwise the entire
test process exists (errexit is set). This test expects the rmdir
to fail.
2015-09-11 15:24:17 -07:00
Robb Kistler
849e66f6a1
Change test_append_file to avoid object read-after-after-overwrite
...
Open the test file once outside of the tests for loop. This helps avoid
object consistency problems when running against S3 providers without
strong consistency (like Amazon). See Issue #263 .
2015-09-11 15:24:17 -07:00
Robb Kistler
6a8a2e4800
Allow integration testing against Amazon S3
...
Example command line:
S3FS_CREDENTIALS_FILE=keyfile \
TEST_BUCKET_1=somebucket \
S3PROXY_BINARY="" \
URL="http://s3.amazonaws.com " ./small-integration-test.sh
2015-09-11 14:35:12 -07:00
Nate Rosenblum
7280ca6a69
Skip xattr tests if utilities are missing
2015-08-21 10:05:14 -07:00
Andrew Gaul
236aeb9dfd
Silence wget
2015-08-20 11:38:27 -07:00
Takeshi Nakatani
4ad57bdea5
Merge pull request #240 from andrewgaul/md5
...
Enable Content-MD5 during multipart upload part
2015-08-20 01:19:01 +09:00
Andrew Gaul
a157ac59ca
Enable Content-MD5 during multipart upload part
...
This allows retries of multi-part uploads instead of discovering a
fatal error during complete multipart upload. Also enable Content-MD5
for integration tests and refactor hexadecimal code.
2015-08-18 02:54:00 -07:00
Andrew Gaul
17d223b542
Refactor tests into individual functions
2015-08-16 15:50:17 -07:00
Takeshi Nakatani
c91a645782
Convert rename_before_close to a shell script #229
2015-08-12 15:09:34 +00:00
Takeshi Nakatani
edb3c78fe9
Merge pull request #220 from andrewgaul/test-rmdir-nonempty-directory
...
Test removing a non-empty directory
2015-08-12 23:41:08 +09:00
Takeshi Nakatani
5655cffd32
Merge pull request #217 from jelly/master
...
Override install, so that the make install does not install rename_before_close under /test
2015-08-12 23:40:18 +09:00
Andrew Gaul
ff8a0c2eea
Parse ETag from copy multipart correctly
...
Previously s3fs misparsed this, preventing renames of files larger
than 5 GB. Integration test disabled until S3Proxy 1.5.0 is released.
2015-08-11 14:43:35 -07:00
Andrew Gaul
5f792a9a2b
Test removing a non-empty directory
2015-08-05 23:31:13 -07:00
Jelle van der Waa
ed70f7763a
Override install, so that the make install does not install
...
rename_before_close under /test
2015-08-01 17:15:00 +02:00
Andrew Gaul
d9b124f91e
Add integration test for xattr
2015-06-28 04:16:35 -07:00
Andrew Gaul
4e03acf17a
Simplify URL encoding
...
This also encodes asterisk and tilde correctly when listing a file
with a V4 auth endpoint. Also add tests for special characters
although s3proxy does not yet support V4 auth.
Fixes #188 . Fixes #194 .
2015-06-10 13:15:58 -07:00
Andrew Gaul
b0a12bcac1
Disable rename_before_close
...
This test currently fails and interferes with the larger integration
test. References #145 .
2015-04-24 11:28:18 -07:00
Andrew Gaul
fa5c7ff4df
Upgrade to S3Proxy 1.4.0
...
Release notes:
https://github.com/andrewgaul/s3proxy/releases/tag/s3proxy-1.4.0
2015-03-29 23:59:39 -07:00
Takeshi Nakatani
f861b11a91
Merge pull request #147 from andrewgaul/s3proxy-snapshot
...
Use S3Proxy 1.4.0-SNAPSHOT
2015-03-11 01:41:58 +09:00
Andrew Gaul
4e18bf0bc2
Use S3Proxy 1.4.0-SNAPSHOT
2015-03-09 18:05:14 -07:00
Ka-Hing Cheung
7c298e94f5
add exit handler to cleanup on failures
...
and other changes that make debugging easier
2015-03-09 15:56:38 -07:00
Takeshi Nakatani
d2246297bd
Merge pull request #137 from andrewgaul/integration-test-mpu
...
Add test for multi-part upload
2015-03-04 12:21:22 +09:00
Andrew Gaul
0f7d77d599
Small fixes to integration tests
...
Use S3Proxy pid instead of self pid, ensure correct passwd
permissions, and use fusermount instead of umount so that non-root can
run tests.
2015-03-03 01:42:03 -08:00