Home | History | Annotate | Download | only in tests

Lines Matching refs:exe

34             exe = os.path.join(tmpdir, 'foo.sh')

35 self.write_file(exe, '#!/bin/sh\nexit 1')
36 os.chmod(exe, 0777)
38 exe = os.path.join(tmpdir, 'foo.bat')
39 self.write_file(exe, 'exit 1')
41 os.chmod(exe, 0777)
42 self.assertRaises(DistutilsExecError, spawn, [exe])
46 exe = os.path.join(tmpdir, 'foo.sh')
47 self.write_file(exe, '#!/bin/sh\nexit 0')
48 os.chmod(exe, 0777)
50 exe = os.path.join(tmpdir, 'foo.bat')
51 self.write_file(exe, 'exit 0')
53 os.chmod(exe, 0777)
54 spawn([exe]) # should work without any error