mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-06 11:00:49 +00:00
Propagate return code properly (#1884)
Previously this did not propagate test failures. A bad rebase
introduced this logic in 495d51113c
.
This commit is contained in:
parent
9224f792f0
commit
dbf93c0152
|
@ -250,7 +250,7 @@ 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=$? || rc=$?
|
||||
"${t}" "${key_prefix}"; rc=$?
|
||||
|
||||
if [[ "${rc}" = 0 ]] ; then
|
||||
report_pass "${t}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user