[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-cvs
Subject:    /bzr/squid3/trunk/ r12706: MacOS: reduce the testRock unit test UDS path
From:       Amos Jeffries <squid3 () treenet ! co ! nz>
Date:       2013-02-26 0:34:52
Message-ID: 20130226004003.92189.qmail () squid-cache ! org
[Download RAW message or body]

--===============0831400661==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------
revno: 12706
committer: Amos Jeffries <squid3@treenet.co.nz>
branch nick: trunk
timestamp: Tue 2013-02-26 13:34:52 +1300
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.
modified:
  src/tests/testRock.cc

--===============0831400661==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; name="r12706.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

=== modified file 'src/tests/testRock.cc'
--- a/src/tests/testRock.cc	2013-02-09 00:44:07 +0000
+++ b/src/tests/testRock.cc	2013-02-26 00:34:52 +0000
@@ -27,7 +27,7 @@
 #include <unistd.h>
 #endif
 
-#define TESTDIR "testRock__testRockSearch"
+#define TESTDIR "testRock_Store"
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testRock );
 


--===============0831400661==--
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic