From d607c875a0999bd29c4db7c92182c8c193379d2a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 16 Feb 2015 06:13:24 -0500 Subject: Repair the logic for setting a non-default SHM export segment. Also, ensure this always happens within the regression-test driver. All regression tests pass. --- regress-driver | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'regress-driver') diff --git a/regress-driver b/regress-driver index 86ab10b4..f6f3c96a 100755 --- a/regress-driver +++ b/regress-driver @@ -38,6 +38,11 @@ if [ -d ${py_libdir} ] && [ -d ${py_scriptdir} ]; then fi export GPSD_HOME PATH +# Use a non-default value of the SHM key to avoid colliding with +# production instances. Value must be legal for strtol(3); +# this is the default key plus one. +export GPSD_SHM_KEY=0x47505345 + mode=regress testing=daemon opts="" -- cgit v1.2.1