]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
MacOS: reduce the testRock unit test UDS path
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Mar 2013 10:01:57 +0000 (03:01 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Mar 2013 10:01:57 +0000 (03:01 -0700)
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.

src/tests/testRock.cc

index 5fdad0eb443af30e86bcae081676718640ba4c06..163f53cbff50dcca83a76873c7c7c6383731acf6 100644 (file)
@@ -27,7 +27,7 @@
 #include <unistd.h>
 #endif
 
-#define TESTDIR "testRock__testRockSearch"
+#define TESTDIR "testRock_Store"
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testRock );