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/vts-testcase/kernel/ltp/testcase/tools/
Dltp_test_cases.py130 def IsLtpBinaryExist(self, commands): argument
139 all_commands = commands.split(';')
145 logging.info("Ltp binary not exist in cmd of '%s'", 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/cts-root/tools/cts-root-tradefed/
DREADME32 Some other useful commands are
/test/mts/tools/mts-tradefed/
DREADME31 Some other useful commands are
/test/vts-testcase/kernel/ltp/
DKernelLtpTest.py423 commands=test_case.command)
480 commands=test_case.command)
/test/catbox/tools/catbox-tradefed/
DREADME41 Some other useful commands are
/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/vts/tools/vts-core-tradefed/
DREADME48 Some other useful commands are