nss-pam-ldapd commit: r1857 - nss-pam-ldapd/tests
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1857 - nss-pam-ldapd/tests
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1857 - nss-pam-ldapd/tests
- Date: Fri, 14 Dec 2012 15:45:18 +0100 (CET)
Author: arthur
Date: Fri Dec 14 15:45:17 2012
New Revision: 1857
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1857&view=revision
Log:
also output debugging info in test_timeout_reader test
Modified:
nss-pam-ldapd/tests/test_tio.c
Modified: nss-pam-ldapd/tests/test_tio.c
==============================================================================
--- nss-pam-ldapd/tests/test_tio.c Sun Dec 9 21:11:41 2012 (r1856)
+++ nss-pam-ldapd/tests/test_tio.c Fri Dec 14 15:45:17 2012 (r1857)
@@ -278,10 +278,14 @@
assertok((wfp=fdopen(sp[0],"wb"))!=NULL);
/* open the reader */
assertok((rfp=tio_fdopen(sp[1],1100,1100,2*1024,4*1024,2*1024,4*1024))!=NULL);
+ printf("test_tio: test_timeout_reader: trying to read a block of %d bytes\n",
+ (int)sizeof(buf));
/* perform a read */
start=time(NULL);
assertok(tio_read(rfp,buf,sizeof(buf))!=0);
end=time(NULL);
+ printf("test_tio: test_timeout_reader: read 0 blocks of %d bytes in %d
second(s) (%s)\n",
+ (int)sizeof(buf),(int)(end-start),strerror(errno));
assert(end>start);
/* close the files */
assertok(tio_close(rfp)==0);
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1857 - nss-pam-ldapd/tests,
Commits of the nss-pam-ldapd project