]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/sshcontrol: don't source profile
authorRoss Burton <ross.burton@intel.com>
Wed, 25 Nov 2015 15:00:50 +0000 (15:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Dec 2015 21:30:56 +0000 (21:30 +0000)
commit0f3fb5bbf2fd7db82898fed3281af143387316ff
treeb6d64194fa0bb9303f58d7bde96ce09435811375
parent4f870f020bbf908ab87990803f3c278bf4e44843
oeqa/sshcontrol: don't source profile

Instead of sourcing /etc/profile to get $PATH including /usr/sbin, just assign
to PATH in the ssh invocation.

The remote /etc/profile may not actually be manipulating PATH as we expect, and
there may be other commands which can interfere with the tests (such as resize
emitting a series of control characters on connection).

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/utils/sshcontrol.py