]> code.ossystems Code Review - openembedded-core.git/commit
oe-selftest: devtool: remove use of git -C
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 20 Jan 2017 01:49:02 +0000 (14:49 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Jan 2017 09:33:49 +0000 (09:33 +0000)
commitce5c7075d530c0950f2feed35f95fbcd9f50721f
tree7f080488dcf3fc03cd64c73e0c0b69a197d1c93f
parente3f5290d8deba9b7cead73b52ac45a37228fece9
oe-selftest: devtool: remove use of git -C

The -C option isn't available in versions of git older than 1.8.5,
and officially we only require git 1.8.3.1 or newer (and the latter is
the version you'll find on CentOS 7, so the test fails there). In any
case we can simply specify the working directory to runCmd() so just
do that instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/devtool.py