Merge #646 ostree-installer: Clean up output dir
This commit is contained in:
commit
65b75e7049
2 changed files with 6 additions and 3 deletions
|
|
@ -97,11 +97,12 @@ class OstreeThreadTest(helpers.PungiTestCase):
|
|||
if extra:
|
||||
lorax_cmd.extend(extra)
|
||||
|
||||
lorax_cmd.append(self.topdir + '/work/x86_64/Everything/ostree_installer')
|
||||
outdir = self.topdir + '/work/x86_64/Everything/ostree_installer'
|
||||
lorax_cmd.append(outdir)
|
||||
|
||||
self.assertEqual(koji.get_runroot_cmd.call_args_list,
|
||||
[mock.call('rrt', 'x86_64',
|
||||
lorax_cmd,
|
||||
'rm -rf %s && %s' % (outdir, ' '.join(lorax_cmd)),
|
||||
channel=None, mounts=[self.topdir],
|
||||
packages=['pungi', 'lorax', 'ostree'],
|
||||
task_id=True, use_shell=True, weight=weight)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue