diff options
-rw-r--r-- | CHANGES | 1 | ||||
-rwxr-xr-x | testit.sh | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ 1.17 -> 2.0: + - devzero2000: drop expr syntax error in make check under dash - devzero2000: Print to the end of the configure phase the options we have enabled and their results on the basis of the target system - devzero2000: fail autogen.sh if autoreconf fail @@ -30,10 +30,10 @@ if [ -z "${valgrind_environment}" ] then MALLOC_CHECK_=3 export MALLOC_CHECK_ - MALLOC_PERTURB_=`expr \( $RANDOM % 255 \) + 1 ` + [ -n "${RANDOM}" ] && MALLOC_PERTURB_=`expr \( $RANDOM % 255 \) + 1 ` export MALLOC_PERTURB_ # - if [ -z "${MALLOC_PERTURB_}" ] # XXX: some shell don't have RANDOM ? + if [ -z "${MALLOC_PERTURB_}" ] # RANDOM is a bashism then r=`ps -ef | cksum | cut -f1 -d" " 2>/dev/null` [ -z "${r}" ] && r=1234567890 |