Home | History | Annotate | Download | only in ltp

Lines Matching defs:shell

51         _shell: ShellMirrorObject, shell mirror object used to execute commands
70 """Creates a remote shell instance, and copies data files."""
97 self.shell = self._dut.shell
98 self.shell.SetConnTimeout(TIMEOUT_TCP_IN_SECS)
101 self.shell)
102 self._shell_env = shell_environment.ShellEnvironment(self.shell)
119 def shell(self):
120 """returns an object that can execute a shell command"""
123 @shell.setter
124 def shell(self, shell):
125 """Set shell object"""
126 self._shell = shell
167 self.shell.Execute("mkdir %s -p" % ltp_configs.LTPDIR)
168 self.shell.Execute("restorecon -F -R %s" % ltp_configs.LTPDIR)
180 self.shell.Execute("rm -rf %s" % ltp_configs.LTPDIR)
197 # For LTP test cases, we run one shell command for each test case
216 If the shell command result is not yet interpreted, self.Verify will
220 cmd_results: dict([str],[str],[int]), command results from shell.
278 If number_of_thread is specified to be 0 in config file, a shell query
346 # Create individual shell sessions for thread workers
348 self._dut.shell.InvokeTerminal("shell_thread_{}".format(i))
380 shell = getattr(self._dut.shell, "shell_thread_{}".format(id))
381 shell.SetConnTimeout(TIMEOUT_TCP_IN_SECS)
419 cmd_results = shell.Execute(cmd)
473 self.CheckResult(self.shell.Execute(cmd))