From: Arlin Davis Date: Thu, 1 Mar 2007 01:14:55 +0000 (-0800) Subject: Add dapltest headers to EXTRA_DIST X-Git-Tag: libdapl-1.2.1~14 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f1f829a28e645831c3bcd1eb2d465fcb7a1fd5d8;p=~ardavis%2Fdapl.git Add dapltest headers to EXTRA_DIST Modify dtest to delay before accepting Signed-off-by: Vladimir Sokolovsky Signed-off-by: Arlin Davis --- diff --git a/Makefile.am b/Makefile.am index e2bf4dc..70ef6ef 100644 --- a/Makefile.am +++ b/Makefile.am @@ -231,8 +231,35 @@ EXTRA_DIST = dat/common/dat_dictionary.h \ doc/dat.conf \ dapl/udapl/libdaplcma.map \ libdat.spec.in \ - $(man_MANS) - + $(man_MANS) \ + test/dapltest/include/dapl_bpool.h \ + test/dapltest/include/dapl_client_info.h \ + test/dapltest/include/dapl_common.h \ + test/dapltest/include/dapl_execute.h \ + test/dapltest/include/dapl_fft_cmd.h \ + test/dapltest/include/dapl_fft_util.h \ + test/dapltest/include/dapl_getopt.h \ + test/dapltest/include/dapl_global.h \ + test/dapltest/include/dapl_limit_cmd.h \ + test/dapltest/include/dapl_mdep.h \ + test/dapltest/include/dapl_memlist.h \ + test/dapltest/include/dapl_params.h \ + test/dapltest/include/dapl_performance_cmd.h \ + test/dapltest/include/dapl_performance_stats.h \ + test/dapltest/include/dapl_performance_test.h \ + test/dapltest/include/dapl_proto.h \ + test/dapltest/include/dapl_quit_cmd.h \ + test/dapltest/include/dapl_server_cmd.h \ + test/dapltest/include/dapl_server_info.h \ + test/dapltest/include/dapl_tdep.h \ + test/dapltest/include/dapl_tdep_print.h \ + test/dapltest/include/dapl_test_data.h \ + test/dapltest/include/dapl_transaction_cmd.h \ + test/dapltest/include/dapl_transaction_stats.h \ + test/dapltest/include/dapl_transaction_test.h \ + test/dapltest/include/dapl_version.h \ + test/dapltest/mdep/linux/dapl_mdep_user.h + dist-hook: libdat.spec cp libdat.spec $(distdir) diff --git a/test/dtest/dtest.c b/test/dtest/dtest.c index fe8a366..86b70cc 100644 --- a/test/dtest/dtest.c +++ b/test/dtest/dtest.c @@ -405,9 +405,6 @@ cleanup: else LOGPRINTF("%d unregister_rdma_memory done\n", getpid()); - - if (delay) sleep(delay); - /* Free protection domain */ LOGPRINTF("%d Freeing pz\n",getpid()); start = get_time(); @@ -699,6 +696,8 @@ connect_ep( char *hostname, int conn_id ) return( DAT_ABORT ); } + if (delay) sleep(delay); /* use to test rdma_cma timeout logic */ + /* accept connect request from client */ h_cr = event.event_data.cr_arrival_event_data.cr_handle; LOGPRINTF("%d Accepting connect request from client\n",getpid()); @@ -1799,7 +1798,7 @@ void print_usage() printf("c: use cno\n"); printf("v: verbose\n"); printf("p: polling\n"); - printf("d: delay before close\n"); + printf("d: delay before accept\n"); printf("b: buf length to allocate\n"); printf("B: burst count, rdma and msgs \n"); printf("h: hostname\n");