diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-04-25 12:31:50 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-04-25 12:31:58 +1000 |
commit | 4f24161246f986453034d779e9ddaa1be9b5d336 (patch) | |
tree | d37bccebb0246b2ce88eeb0297630799fb8f4b7b /test/test_grabbag.sh | |
parent | cc9f39216639f91c2f1cd800407fce91e4f49522 (diff) | |
download | flac-4f24161246f986453034d779e9ddaa1be9b5d336.tar.gz |
Replace usage of $RANDOM in test scripts.
$RANDOM seems to be a bashism and isn't avaiable in eg dash.
Diffstat (limited to 'test/test_grabbag.sh')
-rwxr-xr-x | test/test_grabbag.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_grabbag.sh b/test/test_grabbag.sh index 4c291c44..c91f58c4 100755 --- a/test/test_grabbag.sh +++ b/test/test_grabbag.sh @@ -35,7 +35,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_=$(($RANDOM % 255 + 1)) +export MALLOC_PERTURB_=$((1$(date +%N) % 255 + 1)) PATH=../src/test_grabbag/cuesheet:$PATH PATH=../src/test_grabbag/picture:$PATH PATH=../objs/$BUILD/bin:$PATH |