Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/leaks.sh: workaround minor variation when run with shcomp
For unknown reasons, the test for a memory leak in 'read -C stat <<< "$data"' can show an intermittent minor variation in memory usage when run with shcomp on certain versions of macOS. The reported variations are 48 bytes or 80 bytes. This is too small to be the result of an actual memory leak in the tested command; it is repeated 500 times so that any real leak should show a difference of at least 500 bytes. src/cmd/ksh93/tests/leaks.sh: - Add a tolerance of 128 bytes to get rid of the false failure. Fixes #70 (hopefully).
- Loading branch information