Signed-off-by: Amos Kong <ak...@redhat.com> --- client/virt/tests/ntttcp.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/client/virt/tests/ntttcp.py b/client/virt/tests/ntttcp.py index dab2e1f..c59f05d 100644 --- a/client/virt/tests/ntttcp.py +++ b/client/virt/tests/ntttcp.py @@ -167,6 +167,15 @@ def run_ntttcp(test, params, env): f = open("%s.RHS" % results_path, "w") raw = " buf(k)| throughput(Mbit/s)" logging.info(raw) + fd.write("#ver# %s\n#ver# host kernel: %s%s\n" % ( + commands.getoutput("rpm -q qemu-kvm"), + os.uname()[2])) + desc = """#desc# The tests are sessions of "NTttcp", send buf number is %s. 'throughput' was taken from ntttcp's report. +#desc# How to read the results: +#desc# - The Throughput is measured in Mbit/sec. +#desc# +""" % (buf_num) + f.write(desc) f.write(raw + "\n") for j in parse_file(i): raw = "%8s| %8s" % (j[0], j[1]) _______________________________________________ Autotest mailing list Autotest@test.kernel.org http://test.kernel.org/cgi-bin/mailman/listinfo/autotest