From: Amos Jeffries Date: Fri, 1 Mar 2013 11:03:38 +0000 (-0700) Subject: MacOS: reduce the testRock unit test UDS path X-Git-Tag: SQUID_3_2_8~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a76ce447bddfcb85bd5f5e60fe2461740ce2abdd;p=thirdparty%2Fsquid.git MacOS: reduce the testRock unit test UDS path On MacOS shm_open() requires the name entry to be less than 31 bytes long. The garbage name used by testRock was 35 bytes and not really describing what it was used for in the test anyway. TODO: find out and fix why MacOS still responds EINVAL once the path is set to a usable length. --- diff --git a/src/tests/testRock.cc b/src/tests/testRock.cc index 8a29ea9b21..643f7e97a2 100644 --- a/src/tests/testRock.cc +++ b/src/tests/testRock.cc @@ -21,7 +21,7 @@ #include #endif -#define TESTDIR "testRock__testRockSearch" +#define TESTDIR "testRock_Store" CPPUNIT_TEST_SUITE_REGISTRATION( testRock );