Skip to content

Commit 242217d

Browse files
committed
testlib reverts
1 parent 83c5840 commit 242217d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/testlib.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ report_failure () {
160160

161161
# Mark the end of a test.
162162
end_test () {
163-
test_result=$?
164-
test_status="${1:-$test_result}"
163+
test_status="${1:-$?}"
165164
after_time=$(date '+%s')
166165
elapsed_time=$((after_time - before_time))
167166
set +x -e

0 commit comments

Comments
 (0)