1import os 2from autotest_lib.client.bin import test, utils, os_dep 3 4 5class rttester(test.test): 6 version = 1 7 8 # http://www.stardust.webpages.pl/files/patches/autotest/rttester.tar.bz2 9 10 def setup(self, tarball = 'rttester.tar.bz2'): 11 tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir) 12 utils.extract_tarball_to_dir(tarball, self.srcdir) 13 14 def execute(self): 15 os.chdir(self.srcdir) 16 utils.system(self.srcdir + '/check-all.sh') 17