rbb 2004/06/09 12:39:54
Modified: test testglobalmutex.c
Log:
Use abts_log_message to log data about which test is being run.
(This highlites a problem with abts which will be fixed shortly, namely
it is too hard to use abts_log_message with a format string).
Revision Changes Path
1.14 +2 -0 apr/test/testglobalmutex.c
Index: testglobalmutex.c
===================================================================
RCS file: /home/cvs/apr/test/testglobalmutex.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- testglobalmutex.c 9 Jun 2004 19:33:02 -0000 1.13
+++ testglobalmutex.c 9 Jun 2004 19:39:53 -0000 1.14
@@ -78,6 +78,8 @@
apr_status_t rv;
apr_global_mutex_t *global_lock;
int x = 0;
+ abts_log_message("lock mechanism is: ");
+ abts_log_message(mutexname(mech));
rv = apr_global_mutex_create(&global_lock, LOCKNAME, mech, p);
APR_ASSERT_SUCCESS(tc, "Error creating mutex", rv);