[flac-dev] [PATCH 3/3] export MALLOC_PERTURB_ and MALLOC_CHECK_ in test suite

2012-04-17 Thread Cristian Rodríguez
That enables an special implementation that checks for common memory errors and will save us from a lot pain. --- test/test_bins.sh |2 ++ test/test_flac.sh |2 ++ test/test_grabbag.sh |2 ++ test/test_libFLAC++.sh |2 ++ test/test_libFLAC.sh |3 +++ test/test_met

Re: [flac-dev] [PATCH 3/3] export MALLOC_PERTURB_ and MALLOC_CHECK_ in test suite

2012-04-18 Thread Erik de Castro Lopo
Cristian Rodríguez wrote: > That enables an special implementation that checks > for common memory errors and will save us from a lot pain. > --- > test/test_bins.sh |2 ++ > test/test_flac.sh |2 ++ > test/test_grabbag.sh |2 ++ > test/test_libFLAC++.sh |2 ++ > test/

Re: [flac-dev] [PATCH 3/3] export MALLOC_PERTURB_ and MALLOC_CHECK_ in test suite

2012-04-18 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18.04.2012 16:08, Erik de Castro Lopo wrote: > Cristian Rodríguez wrote: > >> That enables an special implementation that checks for common >> memory errors and will save us from a lot pain. --- >> test/test_bins.sh |2 ++ test/test_flac.s

Re: [flac-dev] [PATCH 3/3] export MALLOC_PERTURB_ and MALLOC_CHECK_ in test suite

2012-04-18 Thread Cristian Rodríguez
On 18/04/12 09:08, Erik de Castro Lopo wrote: > Cristian Rodríguez wrote: > >> That enables an special implementation that checks >> for common memory errors and will save us from a lot pain. >> --- >> test/test_bins.sh |2 ++ >> test/test_flac.sh |2 ++ >> test/test_grabbag.s

Re: [flac-dev] [PATCH 3/3] export MALLOC_PERTURB_ and MALLOC_CHECK_ in test suite

2012-04-24 Thread Eric Wong
Cristian Rodríguez wrote: > export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) > > however is not gonna work with dash. $$ works (in POSIX AFAIK, unlike $RANDOM) and sufficient for this purpose ___ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.o