Handle missing %RANDOM

svn path=/branches/glib-2-12/; revision=5436
This commit is contained in:
Matthias Clasen 2007-03-23 06:29:40 +00:00
parent 6ef011e5f7
commit e259ce948e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-03-23 Matthias Clasen <mclasen@redhat.com>
Merge from trunk:
* tests/gobject/Makefile.am: Handle $RANDOM missing. (#356843,
Paul Jarc)
2007-03-22 Matthias Clasen <mclasen@redhat.com>
Merge from trunk:

View File

@ -65,7 +65,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))
########################################################################