mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-09-30 10:19:01 +00:00
Merge pull request #265 from RobbKistler/fix-integration-test
Fix integration tests
This commit is contained in:
commit
639dcf19b0
@ -63,13 +63,14 @@ function rm_test_dir {
|
|||||||
|
|
||||||
function test_append_file {
|
function test_append_file {
|
||||||
echo "Testing append to file ..."
|
echo "Testing append to file ..."
|
||||||
|
# Open and close file outside of loop to avoid eventual object consistency
|
||||||
|
# issues
|
||||||
|
exec 3<> ${TEST_TEXT_FILE} # open
|
||||||
# Write a small test file
|
# Write a small test file
|
||||||
for x in `seq 1 $TEST_TEXT_FILE_LENGTH`
|
for x in `seq 1 $TEST_TEXT_FILE_LENGTH`
|
||||||
do
|
do
|
||||||
echo "echo ${TEST_TEXT} to ${TEST_TEXT_FILE}"
|
echo "echo ${TEST_TEXT} to ${TEST_TEXT_FILE}"
|
||||||
echo $TEST_TEXT >> $TEST_TEXT_FILE
|
done > ${TEST_TEXT_FILE}
|
||||||
done
|
|
||||||
|
|
||||||
# Verify contents of file
|
# Verify contents of file
|
||||||
echo "Verifying length of test file"
|
echo "Verifying length of test file"
|
||||||
|
Loading…
Reference in New Issue
Block a user