Home
last modified time | relevance | path

Searched refs:sh_escape (Results 1 – 21 of 21) sorted by relevance

/external/autotest/server/
Dbase_utils.py53 return utils.sh_escape("".join(new_name))
167 host.run('gunzip "%s"' % (utils.sh_escape(source_material)))
170 host.run('bunzip2 "%s"' % (utils.sh_escape(source_material)))
176 utils.sh_escape(os.path.dirname(source_material)),
177 utils.sh_escape(source_material),))
Dautotest.py146 host.run('test -x %s' % utils.sh_escape(autotest_binary))
147 host.run('test -w %s' % utils.sh_escape(path))
180 host.run('mkdir -p %s' % utils.sh_escape(path))
181 host.run('test -w %s' % utils.sh_escape(path))
320 abs_path = utils.sh_escape(abs_path)
355 host.run('mkdir -p %s' % utils.sh_escape(autodir))
359 host.run('rm -rf %s/*' % utils.sh_escape(results_path),
446 host.run("rm -rf %s" % utils.sh_escape(autodir), ignore_status=True)
/external/autotest/server/hosts/
Dremote.py61 self.run('rm -rf "%s"' % (utils.sh_escape(dir)))
308 self.run('rm -rf "%s"' % utils.sh_escape(tmpdir), ignore_status=True)
332 ['"%s"' % utils.sh_escape(x) for x in base_template.split('*')])
333 path = '"%s' % os.path.join(utils.sh_escape(parent), base[1:])
Dabstract_ssh.py244 paths = [utils.sh_escape(path) for path in paths]
295 return '%s %s "%s"' % (base_cmd, self.hostname, utils.sh_escape(cmd))
330 result = self.run("ls \"%s\"%s" % (utils.sh_escape(path),
341 return ["\"%s\"%s" % (utils.sh_escape(path), pattern)
454 local_dest = utils.sh_escape(dest)
495 local_dest = utils.sh_escape(dest)
Dssh_host.py127 % (stack, utils.sh_escape(command), command))
147 command += ' "%s"' % utils.sh_escape(arg)
148 full_cmd = '%s "%s %s"' % (ssh_cmd, env, utils.sh_escape(command))
Dbase_servohost.py545 run_args['command'] = 'sudo -n sh -c "%s"' % utils.sh_escape(
/external/autotest/client/common_lib/
Drevision_control.py83 self.repodir = utils.sh_escape(repodir)
90 self.gitpath = utils.sh_escape(os.path.join(self.repodir,'.git'))
134 return utils.run(r'%s' % (utils.sh_escape(command)),
Dlogging_config.py51 os.system('logger -t "autotest" "%s"' % utils.sh_escape(s))
Dutils_unittest.py601 escaped_text = utils.sh_escape(text)
Dutils.py1644 def sh_escape(command): function
/external/autotest/client/site_tests/camera_HAL3/
Dcamera_HAL3.py54 'cat "%s"' % utils.sh_escape(self.media_profiles_path)
/external/autotest/client/profilers/ftrace/
Dftrace.py32 arg = '"%s"' % utils.sh_escape(arg)
/external/autotest/client/bin/
Dlocal_host.py43 self.run('rm -rf "%s"' % (utils.sh_escape(tmp_dir)),
/external/autotest/server/site_tests/firmware_IntegratedU2F/
Dfirmware_IntegratedU2F.py183 u2ftest_cmd = utils.sh_escape('%s %s' % (self.U2F_TEST_PATH,
/external/autotest/site_utils/lxc/
Dcontainer.py323 command = 'bash -c "%s"' % utils.sh_escape(command)
/external/autotest/client/common_lib/hosts/
Dbase_classes.py526 result = self.run('test -e "%s"' % utils.sh_escape(path),
/external/autotest/server/cros/
Dtelemetry_runner.py544 rsync_cmd = utils.sh_escape(
/external/autotest/server/cros/network/
Dwifi_client.py1347 ' "%s"' % utils.sh_escape(message))
/external/autotest/server/cros/faft/
Dcr50_test.py961 set_pwd_cmd = utils.sh_escape(cmd)
Dfirmware_test.py2309 ccd_open_cmd = utils.sh_escape('gsctool -a -o')
/external/autotest/client/common_lib/cros/
Ddev_server.py948 ssh_call = 'ssh %s \'curl "%s"\'' % (hostname, utils.sh_escape(call))