Lines Matching refs:join
34 sysv_generator = os.path.join(os.environ.get('builddir', '.'), 'systemd-sysv-generator')
46 self.init_d_dir = os.path.join(self.workdir, 'init.d')
49 self.unit_dir = os.path.join(self.workdir, 'systemd')
51 self.out_dir = os.path.join(self.workdir, 'output')
121 script = os.path.join(self.init_d_dir, fname)
132 d = os.path.join(self.rcnd_dir, 'rc%s.d' % runlevel)
135 os.symlink('../init.d/' + fname, os.path.join(d, prefix + fname))
151 link = os.path.join(self.out_dir, '%s.target.wants' % target, unit)
190 init_script = os.path.join(self.init_d_dir, 'foo')
273 with open(os.path.join(self.init_d_dir, name), 'w') as f:
277 d = os.path.join(self.rcnd_dir, 'rc2.d')
280 os.symlink('../init.d/' + name, os.path.join(d, 'S%02i%s' % (prio, name)))
298 self.assertEqual(os.readlink(os.path.join(self.out_dir, f)),
308 self.assertEqual(os.readlink(os.path.join(self.out_dir, 'foo\\x2b.service')),
320 self.assertIn(os.readlink(os.path.join(self.out_dir, 'common.service')),
353 init_script = os.path.join(self.init_d_dir, 'foo.sh')
373 self.assertEqual(os.readlink(os.path.join(self.out_dir, 'bar.service')),
414 with open(os.path.join(self.unit_dir, 'foo.service'), 'w') as f: