summaryrefslogtreecommitdiff
path: root/test/testprocmutex.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-09-24 05:37:28 +0000
committerRyan Bloom <rbb@apache.org>2001-09-24 05:37:28 +0000
commit46579a763aa00867efcd374dd07342e0a75ac007 (patch)
treeda7322c381c7c68483665153cf8dd02c9718c124 /test/testprocmutex.c
parent5da0392542469e0830a50ce49a684b17a4697567 (diff)
downloadapr-46579a763aa00867efcd374dd07342e0a75ac007.tar.gz
Default the lock to NULL, so that we can test the soon-to-be-committed
apr_file_mktemp function. Also, 160000 is too many iterations, this test was taking FAR too long to complete. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62367 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testprocmutex.c')
-rw-r--r--test/testprocmutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testprocmutex.c b/test/testprocmutex.c
index fb9e07418..bfe8739b8 100644
--- a/test/testprocmutex.c
+++ b/test/testprocmutex.c
@@ -66,7 +66,7 @@
#include "test_apr.h"
-#define MAX_ITER 40000
+#define MAX_ITER 4000
#define MAX_COUNTER (MAX_ITER * 4)
apr_proc_mutex_t *proc_lock;
@@ -146,7 +146,7 @@ int main(int argc, const char * const *argv)
{
apr_status_t rv;
char errmsg[200];
- const char *lockname = "multi.lock";
+ const char *lockname = NULL;
const char *shmname = "shm.file";
apr_getopt_t *opt;
char optchar;