mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-08 08:58:44 +02:00
Don't use $RANDOM if the shell doesn't have it. (#346373, Thomas Klausner)
* tests/Makefile.am: Don't use $RANDOM if the shell doesn't have it. (#346373, Thomas Klausner)
This commit is contained in:
@@ -121,7 +121,7 @@ TESTS = $(test_programs) $(test_scripts)
|
||||
TESTS_ENVIRONMENT = srcdir=$(srcdir) \
|
||||
LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \
|
||||
MALLOC_CHECK_=2 \
|
||||
MALLOC_PERTURB_=$$(($$RANDOM % 256))
|
||||
if test "$$RANDOM" != "" ; then MALLOC_PERTURB_=$$(($$RANDOM % 256)); fi
|
||||
|
||||
progs_ldadd = $(EFENCE) $(libglib) $(EFENCE)
|
||||
thread_ldadd = $(libgthread) $(G_THREAD_LIBS) $(progs_ldadd)
|
||||
|
Reference in New Issue
Block a user