]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
MacOS: reduce the testRock unit test UDS path
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 26 Feb 2013 00:34:52 +0000 (13:34 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 26 Feb 2013 00:34:52 +0000 (13:34 +1300)
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 fbe1115809e28c4fa6176184ee19d5b69a54303d..da5cfcaad21691ed3479266c9013b5e60ad334ee 100644 (file)
@@ -27,7 +27,7 @@
 #include <unistd.h>
 #endif
 
-#define TESTDIR "testRock__testRockSearch"
+#define TESTDIR "testRock_Store"
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testRock );