abat: update harness to send the raw status information
We would like the server side status file to mirror as closly as possible
the client side one. To this end use the raw message to form the ABAT
summary.
Signed-off-by: Andy Whitcroft <[email protected]>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1063 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/harness_ABAT.py b/client/bin/harness_ABAT.py
index 5d01ce5..298eb4f 100755
--- a/client/bin/harness_ABAT.py
+++ b/client/bin/harness_ABAT.py
@@ -144,8 +144,9 @@
lines = msg.split("\n")
self.__send_status(code, subdir, operation, lines[0])
- status = "%s %s %s %s" % (code, subdir, operation, msg)
- lines = status.split("\n")
+
+ def test_status(self, msg):
+ lines = msg.split("\n")
# Send each line as a SUMMARY message.
for line in lines: