mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
test/*.sh : Fix MALLOC_PERTURB initialization.
Was using '$(date +%N)', but that doesn't work on OSX or *BSD. Switched to using '$(date +%s)'.
This commit is contained in:
@@ -53,7 +53,7 @@ LD_LIBRARY_PATH=`pwd`/../src/share/utf8/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=`pwd`/../objs/$BUILD/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export MALLOC_CHECK_=3
|
||||
export MALLOC_PERTURB_=$((1$(date +%N) % 255 + 1))
|
||||
export MALLOC_PERTURB_=$(($(date +%s) % 255 + 1))
|
||||
PATH=`pwd`/../src/flac:$PATH
|
||||
PATH=`pwd`/../src/metaflac:$PATH
|
||||
PATH=`pwd`/../src/test_streams:$PATH
|
||||
|
||||
Reference in New Issue
Block a user