Auto-tools/Projects/SUTAgent: Difference between revisions

(Created page with "= Team = jmaher, mcote, wlach = Problem = Automated testing of mobile devices requires a platform-independent system-level interface with the device. = Goals & Considerations...")
 
Line 23: Line 23:
Logs are also kept in a file on the device and rotated periodically to ensure they don't take up too much disk space.
Logs are also kept in a file on the device and rotated periodically to ensure they don't take up too much disk space.


The SUTAgent shall support at least the following commands. Note that, regardless of the device's platform, paths are always in POSIX format (using forward slashes). The SUTAgent is responsible for translating these to and from the native format (e.g. c:\dir\ might be translated as /c/dir/).
Note that, regardless of the device's platform, paths are always in POSIX format (using forward slashes). The SUTAgent is responsible for translating these to and from the native format (e.g. c:\dir\ might be translated as /c/dir/).


* cd
The SUTAgent shall also remember the current working directory for the duration of a command-socket connection. The default cwd is implementation-specific.
* cwd
 
* dirw
When errors are printed in response to commands, they should be of the form "##AGENT-WARNING## <detailed error message>".
* exec
 
* hash
See [[Auto-tools/Projects/SUTAgent/CommandReference]] for supported commands.
* isdir
* ls
* mkdr
* ps
* pull
* push
* quit
* rebt
* rm
* rmdr
* testroot
* tmpd
* unzp


= Implementation =
= Implementation =


See [[Auto-tools/Projects/SUTAgentImplementation|SUTAgentImplementation]].
See [[Auto-tools/Projects/SUTAgentImplementation|SUTAgentImplementation]].
Confirmed users
1,927

edits