mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-05 05:52:11 +00:00
Fixed forgetting to clean up test files
This commit is contained in:
parent
4da56acdcc
commit
d33f252404
@ -494,6 +494,7 @@ function test_special_characters {
|
|||||||
)
|
)
|
||||||
|
|
||||||
mkdir "TOYOTA TRUCK 8.2.2"
|
mkdir "TOYOTA TRUCK 8.2.2"
|
||||||
|
rm -rf "TOYOTA TRUCK 8.2.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_hardlink {
|
function test_hardlink {
|
||||||
@ -507,6 +508,9 @@ function test_hardlink {
|
|||||||
set +o pipefail
|
set +o pipefail
|
||||||
ln $TEST_TEXT_FILE $ALT_TEST_TEXT_FILE 2>&1 | grep -q 'Operation not supported'
|
ln $TEST_TEXT_FILE $ALT_TEST_TEXT_FILE 2>&1 | grep -q 'Operation not supported'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
rm_test_file
|
||||||
|
rm_test_file $ALT_TEST_TEXT_FILE
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_symlink {
|
function test_symlink {
|
||||||
@ -864,7 +868,8 @@ function test_update_directory_time() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -r $TIME_TEST_DIR
|
rm -rf $TIME_TEST_SUBDIR
|
||||||
|
rm -rf $TIME_TEST_DIR
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_rm_rf_dir {
|
function test_rm_rf_dir {
|
||||||
@ -1029,6 +1034,11 @@ function test_content_type() {
|
|||||||
echo "Unexpected Content-Type: $CONTENT_TYPE"
|
echo "Unexpected Content-Type: $CONTENT_TYPE"
|
||||||
return 1;
|
return 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm -f test.txt
|
||||||
|
rm -f test.jpg
|
||||||
|
rm -f test.bin
|
||||||
|
rm -rf test.dir
|
||||||
}
|
}
|
||||||
|
|
||||||
# create more files than -o max_stat_cache_size
|
# create more files than -o max_stat_cache_size
|
||||||
@ -1042,6 +1052,8 @@ function test_truncate_cache() {
|
|||||||
done
|
done
|
||||||
ls $dir
|
ls $dir
|
||||||
done
|
done
|
||||||
|
|
||||||
|
rm -rf `seq 2`
|
||||||
}
|
}
|
||||||
|
|
||||||
function test_cache_file_stat() {
|
function test_cache_file_stat() {
|
||||||
|
Loading…
Reference in New Issue
Block a user