def test_d_compile_error(self):
    script_helper.make_script(self.pkgdir, 'crunchyfrog', 'bad(syntax')
    (rc, out, err) = self.assertRunNotOK('-q', '-d', 'dinsdale', self.pkgdir)
    self.assertRegex(out, b'File "dinsdale')
def test_d_compile_error(self):
    script_helper.make_script(self.pkgdir, 'crunchyfrog', 'bad(syntax')
    (rc, out, err) = self.assertRunNotOK('-q', '-d', 'dinsdale', self.pkgdir)
    self.assertRegex(out, b'File "dinsdale')