Lines Matching full:shell
22 "help shell",
24 "Run a shell command on the host.",
25 "shell <shell-command>",
26 "'shell' is an abbreviation",
29 # "platform shell" has options. The "shell" alias for it does not.
30 self.expect("help shell", substrs=["Command Options:"], matching=False)
65 """Test that the platform shell command can invoke ls."""
68 self.expect("platform shell dir c:\\", substrs=["Windows", "Program Files"])
69 self.expect("shell dir c:\\", substrs=["Windows", "Program Files"])
71 self.expect("platform shell ls /", substrs=["cache", "dev", "system"])
72 self.expect("shell ls /", substrs=["cache", "dev", "system"])
74 self.expect("platform shell ls /", substrs=["dev", "tmp", "usr"])
75 self.expect("shell ls /", substrs=["dev", "tmp", "usr"])
79 """Test a shell built-in command (echo)"""
80 self.expect("platform shell echo hello lldb", substrs=["hello lldb"])
81 self.expect("shell echo hello lldb", substrs=["hello lldb"])
85 """Test a shell built-in command (sleep) that times out"""
88 "platform shell -t 1 -- sleep 15",
90 substrs=["error: timed out waiting for shell command to complete"],
93 "shell -t 1 -- sleep 3",
95 substrs=["error: timed out waiting for shell command to complete"],
101 """Test the host platform shell with a different interpreter"""
105 "platform shell -h -s " + exe + " -- 'echo $0'",