From: Amos Jeffries Date: Tue, 26 Feb 2013 00:34:52 +0000 (+1300) Subject: MacOS: reduce the testRock unit test UDS path X-Git-Tag: SQUID_3_4_0_1~255 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bf39e4948289ec3c7f61dcb475c1e8dc8fed615;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 fbe1115809..da5cfcaad2 100644 --- a/src/tests/testRock.cc +++ b/src/tests/testRock.cc @@ -27,7 +27,7 @@ #include #endif -#define TESTDIR "testRock__testRockSearch" +#define TESTDIR "testRock_Store" CPPUNIT_TEST_SUITE_REGISTRATION( testRock );