Browse Source

autotest: fixed displayed git hash in autotest

mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
d574c78c2c
  1. 2
      Tools/autotest/autotest.py

2
Tools/autotest/autotest.py

@ -193,7 +193,7 @@ class TestResults(object): @@ -193,7 +193,7 @@ class TestResults(object):
'''test results class'''
def __init__(self):
self.date = time.asctime()
self.githash = util.run_cmd('git rev-parse HEAD', output=True)
self.githash = util.run_cmd('git rev-parse HEAD', output=True).strip()
self.tests = []
self.files = []

Loading…
Cancel
Save