Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r739 committed - Protocol logging to indicate test starts and incoming connections for ...

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r739 committed - Protocol logging to indicate test starts and incoming connections for ...


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r739 committed - Protocol logging to indicate test starts and incoming connections for ...
  • Date: Fri, 28 Oct 2011 15:03:38 +0000

Revision: 739
Author:

Date: Fri Oct 28 08:00:20 2011
Log: Protocol logging to indicate test starts and incoming connections for Meta test CLT side
http://code.google.com/p/ndt/source/detail?r=739

Modified:
/branches/kkumar_code_organize/src/test_meta_clt.c

=======================================
--- /branches/kkumar_code_organize/src/test_meta_clt.c Sun Oct 23 19:27:44 2011
+++ /branches/kkumar_code_organize/src/test_meta_clt.c Fri Oct 28 08:00:20 2011
@@ -42,8 +42,16 @@
int msgLen, msgType;
FILE * fp;

+ //Protocol validation variables
+ enum TEST_STATUS_INT teststatuses = TEST_NOT_STARTED;
+ enum TEST_ID testids = META;
+
if (tests & TEST_META) { // perform META tests
log_println(1, " <-- META test -->");
+ setCurrentTest(TEST_META);
+ //protocol logs
+ teststatuses = TEST_STARTED;
+ protolog_status(getpid(), testids, teststatuses, ctlSocket);
msgLen = sizeof(buff);
// Server starts with a TEST_PREPARE message. Any other
// .. type of message at this juncture is unexpected !
@@ -119,6 +127,10 @@
return 2;
}
log_println(1, " <------------------------->");
+ // log protocol validation logs
+ teststatuses = TEST_ENDED;
+ protolog_status(getpid(), testids, teststatuses,ctlSocket);
+ setCurrentTest(TEST_NONE);
}
return 0;
}


  • [ndt-dev] [ndt] r739 committed - Protocol logging to indicate test starts and incoming connections for ..., ndt, 10/28/2011

Archive powered by MHonArc 2.6.16.

Top of Page