aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/test.py
diff options
context:
space:
mode:
authorSimon Glass2020-07-19 12:28:11 -0600
committerSimon Glass2020-07-28 19:30:39 -0600
commit3918dfaa910e35a753b91e0124e13c6c80c8d0d2 (patch)
tree5a3295c76aaf9e33c8463d8371c3a4e52e9e3678 /tools/buildman/test.py
parent5a910b92bc9d63d855f3efa8d10cb25db0a8ac60 (diff)
buildman: Correct the testOutputDir() unit test
This current fails with an error. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 7664b03ffc5 ("buildman: Remove _of_#_ from results directory paths")
Diffstat (limited to 'tools/buildman/test.py')
-rw-r--r--tools/buildman/test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/buildman/test.py b/tools/buildman/test.py
index 82d25cfcaaf..3eaba07559b 100644
--- a/tools/buildman/test.py
+++ b/tools/buildman/test.py
@@ -541,8 +541,7 @@ class TestBuild(unittest.TestCase):
build.commits = self.commits
build.commit_count = len(self.commits)
subject = self.commits[1].subject.translate(builder.trans_valid_chars)
- dirname ='/%02d_g%s_%s' % (2, build.commit_count, commits[1][0],
- subject[:20])
+ dirname ='/%02d_g%s_%s' % (2, commits[1][0], subject[:20])
self.CheckDirs(build, dirname)
def testOutputDirCurrent(self):