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

@ -1,3 +1,8 @@
2007-03-23 Matthias Clasen <mclasen@redhat.com>
* tests/gobject/Makefile.am: Handle $RANDOM missing. (#356843,
Paul Jarc)
2007-03-22 Matthias Clasen <mclasen@redhat.com>
* glib/guniprop.c: Fix corner-cases of upper/lowercase conversion.

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))
########################################################################