summaryrefslogtreecommitdiff
path: root/test/testprocmutex.c
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2003-07-02 19:44:38 +0000
committerJoe Orton <jorton@apache.org>2003-07-02 19:44:38 +0000
commiteb0886d19afc7786b845aeb43117ce2bbb121027 (patch)
tree5a42a3dcff4884cc7f6e7487e0e8e5bef65c6204 /test/testprocmutex.c
parent120b7595cb7901d39da87f7e773bbf56f2f07d97 (diff)
downloadapr-eb0886d19afc7786b845aeb43117ce2bbb121027.tar.gz
Pass NULL to apr_proc_mutex_create rather than the invented filename
as per the old code. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testprocmutex.c')
-rw-r--r--test/testprocmutex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/testprocmutex.c b/test/testprocmutex.c
index a29b0504b..ef1a3fcb1 100644
--- a/test/testprocmutex.c
+++ b/test/testprocmutex.c
@@ -134,7 +134,6 @@ static void proc_mutex(CuTest *tc)
{
#if APR_HAS_FORK
apr_status_t rv;
- const char *lockname = "tpm.lock";
const char *shmname = "tpm.shm";
apr_shm_t *shm;
@@ -148,7 +147,7 @@ static void proc_mutex(CuTest *tc)
apr_assert_success(tc, "create shm segment", rv);
x = apr_shm_baseaddr_get(shm);
- test_exclusive(tc, lockname);
+ test_exclusive(tc, NULL);
#else
CuNotImpl(tc, "APR lacks fork() support");
#endif