diff mbox

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

Message ID 54347E5A035A054EAE9D05927FB467F9481A87C9@ORSMSX101.amr.corp.intel.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Arlin Davis July 5, 2012, 4:38 p.m. UTC
Patch set for bug fixes. 

add #ifdef checking in transaction test.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>

---
 test/dapltest/test/dapl_transaction_test.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

-- 
1.7.3
diff mbox

Patch

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