Handle missing $RANDOM

svn path=/trunk/; revision=5435
This commit is contained in:
Matthias Clasen
2007-03-23 06:27:58 +00:00
parent 7296a34571
commit ab74710386
2 changed files with 6 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ TESTS = $(test_programs)
TESTS_ENVIRONMENT = srcdir=$(srcdir) \
LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \
MALLOC_CHECK_=2 \
MALLOC_PERTURB_=$$(($$RANDOM % 256))
MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256))
########################################################################