Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

As the wait return code is likely to be $NODEOS_PID (stopped child re… #10333

Merged
merged 1 commit into from
May 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/db_modes_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ run_expect_success() {
kill $NODEOS_PID
rc=0
wait $NODEOS_PID && rc=$? || rc=$?
if [[ rc -eq 127 || rc -eq 0 ]]; then
if [[ $rc -eq 127 || $rc -eq $NODEOS_PID ]]; then
rc=0
fi
return $rc
Expand Down