Fixed issue when Commit messages are too long
diff --git a/TestON/drivers/common/cli/onosclidriver.py b/TestON/drivers/common/cli/onosclidriver.py
index 449e30d..1cffa36 100644
--- a/TestON/drivers/common/cli/onosclidriver.py
+++ b/TestON/drivers/common/cli/onosclidriver.py
@@ -241,8 +241,8 @@
self.handle.sendline("export TERM=xterm-256color")
self.handle.expect("xterm-256color")
self.handle.expect("\$")
- self.handle.sendline("cd ONOS; git log -1; cd \.\.")
- self.handle.expect("cd ..")
+ self.handle.sendline("cd ONOS; git log -1 | grep -A 3 \"commit\"; cd \.\.")
+ self.handle.expect("cd \.\.")
self.handle.expect("\$")
main.log.report( str(self.handle.before + self.handle.after))