[ofw] [PATCH 1/7] dapltest: DFLT_QLEN is defined in multiple tests

Davis, Arlin R arlin.r.davis at intel.com
Thu Jul 5 09:38:03 PDT 2012


Patch set for bug fixes. 

add #ifdef checking in transaction test.

Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
 test/dapltest/test/dapl_transaction_test.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/test/dapltest/test/dapl_transaction_test.c b/test/dapltest/test/dapl_transaction_test.c
index 14c14b4..779ea86 100644
--- a/test/dapltest/test/dapl_transaction_test.c
+++ b/test/dapltest/test/dapl_transaction_test.c
@@ -43,6 +43,10 @@
  */
 #define SYNC_BUFF_SIZE		64
 
+#ifdef DFLT_QLEN
+#undef DFLT_QLEN
+#endif
+
 #define DFLT_QLEN      8	/* default event queue length */
 #define DFLT_TMO      10	/* default timeout (seconds)  */
 #define MAX_CONN_RETRY 8
-- 
1.7.3





More information about the ofw mailing list