Skip to content

Commit

Permalink
tests/leaks.sh: Update to use $unit for vmstate
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnoKing committed Jul 8, 2020
1 parent 779d00b commit c11ff42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/ksh93/tests/leaks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ do
done
after=$(getmem)
(( after > before )) && err_exit 'unset of associative array causes memory leak' \
"(leaked $((after - before)) KiB)"
"(leaked $((after - before)) $unit)"

# ======
exit $((Errors<125?Errors:125))

0 comments on commit c11ff42

Please sign in to comment.