Lines Matching refs:pathname

171     def __init__(self, pathname, identifier=None, outputdir=None,
173 self.pathname = pathname
191 ''' % (self.pathname, self.identifier, self.outputdir, self.timeout, self.user)
255 privcmd = self.update_cmd_privs(self.pathname, self.user)
310 msga = 'Test (%s): %s%s ' % (self.identifier, self.pathname, user)
312 msga = 'Test: %s%s ' % (self.pathname, user)
359 def __init__(self, pathname,
362 super(Test, self).__init__(pathname, **kwargs)
384 ''' % (self.pathname, self.identifier, self.outputdir, self.timeout, self.user,
392 files = [self.pre, self.pathname, self.post]
404 self.pathname)
417 test = Cmd(self.pathname, identifier=self.identifier,
425 if len(pretest.pathname):
437 if len(posttest.pathname):
445 def __init__(self, pathname, tests=None, **kwargs):
446 super(TestGroup, self).__init__(pathname, **kwargs)
465 ''' % (self.pathname, self.identifier, self.outputdir, self.tests,
481 self.pre = os.path.join(self.pathname, self.pre)
483 self.post = os.path.join(self.pathname, self.post)
489 if self.pathname != os.path.dirname(f):
492 "directory." % (self.pathname, f))
498 (self.pathname, f))
504 self.pathname)
509 verify_file(os.path.join(self.pathname, f))]
531 if len(pretest.pathname):
537 test = Cmd(os.path.join(self.pathname, fname),
548 if len(posttest.pathname):
585 def addtest(self, pathname, options):
591 test = Test(pathname)
596 self.tests[pathname] = test
669 pathname = sectiondir
671 pathname = os.path.join(testdir, sectiondir)
673 pathname = sectiondir
675 testgroup = TestGroup(os.path.abspath(pathname),
700 filenames = os.listdir(pathname)
853 def verify_file(pathname):
857 if os.path.isdir(pathname) or os.path.islink(pathname):
860 if os.path.isfile(pathname) and os.access(pathname, os.X_OK):