~nuclearbob/utah/lvm-prework

« back to all changes in this revision

Viewing changes to tests/test_autorun.py

  • Committer: Andy Doan
  • Date: 2013-06-04 20:18:44 UTC
  • Revision ID: andy.doan@canonical.com-20130604201844-ezrv22nku659tyc8
fix test-case regression from revno 915.4.8

provisioning.py was fixed, but I failed to fix the test case

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
        #piggy back the foo directory for the run script location
40
40
        self.script = os.path.join(self.workdir, 'foo', 'utah-autorun.sh')
41
 
        template.write('utah-autorun.sh.jinja2', self.script)
 
41
        lf = '/dev/null'
 
42
        template.write('utah-autorun.sh.jinja2', self.script, log_file=lf)
42
43
        os.chmod(self.script, stat.S_IRWXU)
43
44
 
44
45
        self._write_script('01_foo', 'echo foo running')