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:
Erik de Castro Lopo
2013-05-27 19:22:21 +10:00
parent bd4af7e57b
commit c7957b2b54
4 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ LD_LIBRARY_PATH=../src/share/replaygain_analysis/.libs:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=../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=../src/test_grabbag/cuesheet:$PATH
PATH=../src/test_grabbag/picture:$PATH
PATH=../objs/$BUILD/bin:$PATH