'Pulls sysinfo and keyval data from the client.'

def _pull_sysinfo_keyval(self, host, outputdir, mytest):

    host.get_file(os.path.join(outputdir, 'sysinfo'), mytest.outputdir)
    (fd, path) = tempfile.mkstemp(dir=self.job.tmpdir)
    os.close(fd)
    host.get_file(os.path.join(outputdir, 'keyval'), path)
    keyval = utils.read_keyval(path)
    os.remove(path)
    mytest.write_test_keyval(keyval)
