mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 16:58:55 +00:00
Use more new file names for every test (#1902)
This makes the tests more robust. Also fix filename to end in .txt.
This commit is contained in:
parent
5452e9cb10
commit
0842c5718f
@ -248,8 +248,12 @@ function run_suite {
|
||||
cd_run_dir "${key_prefix}"
|
||||
for t in "${TEST_LIST[@]}"; do
|
||||
# Ensure test input name differs every iteration
|
||||
TEST_TEXT_FILE="test-s3fs.txt-${RANDOM}"
|
||||
TEST_TEXT_FILE="test-s3fs-${RANDOM}.txt"
|
||||
TEST_DIR="testdir-${RANDOM}"
|
||||
# shellcheck disable=SC2034
|
||||
ALT_TEST_TEXT_FILE="test-s3fs-ALT-${RANDOM}.txt"
|
||||
# shellcheck disable=SC2034
|
||||
BIG_FILE="big-file-s3fs-${RANDOM}.txt"
|
||||
"${t}" "${key_prefix}" && rc=$? || rc=$?
|
||||
if [ $rc = 0 ]; then
|
||||
report_pass "${t}"
|
||||
|
Loading…
Reference in New Issue
Block a user