mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-06 11:00:49 +00:00
Re-re-fix propagating the return code (#1903)
Previously the integration tests were exiting after the first failed
test instead of running all of them an reporting their statuses.
Follows on to dbf93c0152
.
This commit is contained in:
parent
81ed2bd91e
commit
232ff28cc7
|
@ -250,9 +250,8 @@ function run_suite {
|
|||
# Ensure test input name differs every iteration
|
||||
TEST_TEXT_FILE="test-s3fs.txt-${RANDOM}"
|
||||
TEST_DIR="testdir-${RANDOM}"
|
||||
"${t}" "${key_prefix}"; rc=$?
|
||||
|
||||
if [[ "${rc}" = 0 ]] ; then
|
||||
"${t}" "${key_prefix}" && rc=$? || rc=$?
|
||||
if [ $rc = 0 ]; then
|
||||
report_pass "${t}"
|
||||
else
|
||||
report_fail "${t}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user