------------------------------------------------------------ revno: 12503 revision-id: squid3@treenet.co.nz-20130301100157-6p2jnw74vpo0v141 parent: squid3@treenet.co.nz-20130226222122-lxso4crt1pghd7c9 committer: Amos Jeffries branch nick: 3.3 timestamp: Fri 2013-03-01 03:01:57 -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-20130301100157-6p2jnw74vpo0v141 # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # testament_sha1: 5a67495660f3c3eddc82cc6dee9a572b277beaed # timestamp: 2013-03-01 10:05:30 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # base_revision_id: squid3@treenet.co.nz-20130226222122-\ # lxso4crt1pghd7c9 # # Begin patch === modified file 'src/tests/testRock.cc' --- src/tests/testRock.cc 2013-02-14 07:34:42 +0000 +++ src/tests/testRock.cc 2013-03-01 10:01:57 +0000 @@ -27,7 +27,7 @@ #include #endif -#define TESTDIR "testRock__testRockSearch" +#define TESTDIR "testRock_Store" CPPUNIT_TEST_SUITE_REGISTRATION( testRock );