------------------------------------------------------------ revno: 11790 revision-id: squid3@treenet.co.nz-20130301110338-y27nvhc2vbtmxhpe parent: squid3@treenet.co.nz-20130301110010-mk8oks0cwepmk0bp committer: Amos Jeffries branch nick: 3.2 timestamp: Fri 2013-03-01 04:03:38 -0700 message: 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. ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20130301110338-y27nvhc2vbtmxhpe # target_branch: http://bzr.squid-cache.org/bzr/squid3/branches\ # /SQUID_3_2 # testament_sha1: 3507b654b5d32911326557fb351094fd1eb79c54 # timestamp: 2013-03-01 11:06:37 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/branches\ # /SQUID_3_2 # base_revision_id: squid3@treenet.co.nz-20130301110010-\ # mk8oks0cwepmk0bp # # Begin patch === modified file 'src/tests/testRock.cc' --- src/tests/testRock.cc 2013-02-16 02:26:31 +0000 +++ src/tests/testRock.cc 2013-03-01 11:03:38 +0000 @@ -21,7 +21,7 @@ #include #endif -#define TESTDIR "testRock__testRockSearch" +#define TESTDIR "testRock_Store" CPPUNIT_TEST_SUITE_REGISTRATION( testRock );