]> code.ossystems Code Review - openembedded-core.git/commit
lib/oeqa/utils/sshcontrol.py: fix passing command to subprocess
authorStefan Stanacar <stefanx.stanacar@intel.com>
Tue, 9 Jul 2013 14:52:55 +0000 (17:52 +0300)
committerSaul Wold <sgw@linux.intel.com>
Mon, 15 Jul 2013 17:29:26 +0000 (10:29 -0700)
commit1988de2fad86e8e34070ed6573a7be09fff5c0a2
tree9b2d9d38fbd06121e570c089bcd8f375899e2bb5
parentc072fed6531f2ce3c687f8342a97f593ebf37653
lib/oeqa/utils/sshcontrol.py: fix passing command to subprocess

Don't use shlex.split in subprocess call and also prepend
. /etc/profile, because PATH over ssh is always
/usr/bin:/bin which isn't what many tests expect.

Changed in v2:
 We now need to use a separate call for scp command.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/lib/oeqa/utils/sshcontrol.py