diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-05-27 19:22:21 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-05-27 19:23:42 +1000 |
commit | c7957b2b54350b60fdeb6c5201bf45e42655cf4b (patch) | |
tree | e0c847327a99414584adc70b4dddfa57c7c5a734 /test/test_flac.sh | |
parent | bd4af7e57ba228825fdfbdf0478746d9ca1750f9 (diff) | |
download | flac-c7957b2b54350b60fdeb6c5201bf45e42655cf4b.tar.gz |
test/*.sh : Fix MALLOC_PERTURB initialization.1.3.0
Was using '$(date +%N)', but that doesn't work on OSX or *BSD. Switched
to using '$(date +%s)'.
Diffstat (limited to 'test/test_flac.sh')
-rwxr-xr-x | test/test_flac.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_flac.sh b/test/test_flac.sh index 662262c1..f24893f4 100755 --- a/test/test_flac.sh +++ b/test/test_flac.sh @@ -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 |