summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-09-14 11:17:33 +0000
committerWerner Koch <wk@gnupg.org>2006-09-14 11:17:33 +0000
commitf4f90811735b1f599e207e49d449abfa9d47897d (patch)
treeb509639246290da27975771f95b8d46cf57ec60c /tests
parent7a22110230b9f1e5b5a73c065571935df21ef9b1 (diff)
downloadlibassuan-f4f90811735b1f599e207e49d449abfa9d47897d.tar.gz
Preparing a new releaselibassuan-0.9.0
Diffstat (limited to 'tests')
-rw-r--r--tests/fdpassing.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/fdpassing.c b/tests/fdpassing.c
index eae84e6..b2f118b 100644
--- a/tests/fdpassing.c
+++ b/tests/fdpassing.c
@@ -124,6 +124,9 @@ server (void)
log_error ("assuan_accept failed: %s\n", assuan_strerror (rc));
break;
}
+
+ log_info ("client connected. Client's pid is %ld\n",
+ (long)assuan_get_pid (ctx));
rc = assuan_process (ctx);
if (rc)
@@ -151,9 +154,10 @@ client (assuan_context_t ctx)
FILE *fp;
int i;
- log_info ("client started\n");
+ log_info ("client started. Servers's pid is %ld\n",
+ (long)assuan_get_pid (ctx));
- for (i=0; i < 8; i++)
+ for (i=0; i < 6; i++)
{
fp = fopen ("/etc/motd", "r");
if (!fp)