summaryrefslogtreecommitdiffstats
path: root/meta/files
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2014-01-28 15:55:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 11:22:10 +0000
commit1dd7fd6b615a87c2e88a0f18bc7efde7afdbd574 (patch)
tree89f0ed10ebef56ad68eaec97a66b0e47ff6e00d4 /meta/files
parente54c1ad651886cd7e7c4cc395dbe78dcda7c5347 (diff)
downloadpoky-1dd7fd6b615a87c2e88a0f18bc7efde7afdbd574.tar.gz
oeqa/utils: sshcontrol: rewrite the SSHControl class
Split the class in two, one to handle the process and the timeout based on output and one for the actual ssh/scp commands. The ssh/scp methods now use the same run method. It does the same thing as before but: - it looks cleaner. - adds support for using a different user than root - optionally, raises an exception when exit code != 0 (that's useful for code outside of tests, where you wouldn't want to check the return code every time as the tests do) (From OE-Core rev: bb14a7598d3c0636dc249f719bde0d9d65b2694d) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
0 files changed, 0 insertions, 0 deletions