]> 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 11:03:38 +0000 (04:03 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 Mar 2013 11:03:38 +0000 (04:03 -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 8a29ea9b2123bd84a948a85402b4c9edccd8ff04..643f7e97a251cdeeec11b301fddb4c3725c2c480 100644 (file)
@@ -21,7 +21,7 @@
 #include <unistd.h>
 #endif
 
-#define TESTDIR "testRock__testRockSearch"
+#define TESTDIR "testRock_Store"
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testRock );