Home
last modified time | relevance | path

Searched refs:commands (Results 1 – 13 of 13) sorted by relevance

/test/vts-testcase/kernel/ltp/shell_environment/definitions/
Ddirectory_exists.py62 commands = ["ls %s" % path for path in self._paths]
63 results = self.ExecuteShellCommand(commands)[const.EXIT_CODE]
76 commands = ["mkdir -p %s" % path for path in self._failed_paths]
78 return not any(self.ExecuteShellCommand(commands)[const.EXIT_CODE])
81 commands = ["rm -rf %s" % path for path in self._failed_paths]
82 return not any(self.ExecuteShellCommand(commands)[const.EXIT_CODE])
Dpath_permission.py66 commands = ["stat -c {}a {}".format('%', path) for path in self._paths]
67 results = self.ExecuteShellCommand(commands)[const.STDOUT]
84 commands = ["chmod {} {}".format(permission, path)
87 return not any(self.ExecuteShellCommand(commands)[const.EXIT_CODE])
90 commands = ["chmod {} {}".format(original, path)
92 return not any(self.ExecuteShellCommand(commands)[const.EXIT_CODE])
Dbin_in_path.py61 commands = ["which %s" % path for path in self._paths]
62 results = self.ExecuteShellCommand(commands)[const.EXIT_CODE]
/test/vts/utils/python/mirror/
Dmirror_tracker.py442 def Execute(self, commands, no_except=False, nohup=None): argument
473 if not isinstance(commands, (list, tuple)):
474 commands = [commands]
481 if (not nohup and len(commands) <= non_nohup_adb_threshold
482 and not filter(lambda cmd: len(cmd) > _MAX_ADB_SHELL_LENGTH, commands)):
483 return self._ExecuteShellCmdViaAdbShell(commands)
485 return self._ExecuteShellCmdViaVtsDriver(commands, no_except)
487 def _ExecuteShellCmdViaVtsDriver(self, commands, no_except): argument
504 return getattr(self, _DEFAULT_SHELL_NAME).Execute(commands, no_except)
506 def _ExecuteShellCmdViaAdbShell(self, commands): argument
[all …]
/test/framework/harnesses/host_controller/
Dconsole.py552 commands = script_module.EmitConsoleCommands()
553 if commands:
554 for command in commands:
594 commands = script_module.EmitConsoleCommands(**kwargs)
595 logging.info("Command list: %s", commands)
596 if commands:
597 logging.info("Console commands: %s", commands)
598 for command in commands:
/test/vts/testcases/host/shell/
DSampleShellTest.py73 commands = ["cd %s && pwd" % directory, "'cd' '%s' && 'pwd'" %
75 for cmd in commands:
/test/framework/harnesses/host_controller/command_processor/
Dcommand_config.py158 commands = self.GetBuildCommands(schedules_pbs)
159 if commands:
160 for command in commands:
/test/vts/utils/app_engine/
Dsetup.txt8 from the above link and execute the commands in terminal:
/test/vti/dashboard/
DREADME.md95 The next commands show how to do it.
191 The next two commands will generate mock data in your local dev datastore.
192 The execution order of the commands is very important, otherwise you can't find some of the data in…
/test/vts-testcase/kernel/ltp/
DKernelLtpTest.py418 commands=test_case.command)
475 commands=test_case.command)
/test/vts/runners/host/
Dbase_test.py1248 commands = ['ps aux | grep adb',
1251 for cmd in commands:
1258 commands = ['ps aux | grep vts',
1260 for cmd in commands:
/test/suite_harness/tools/cts-instant-tradefed/
DREADME42 Some other useful commands are
/test/suite_harness/tools/cts-tradefed/
DREADME50 Some other useful commands are