]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/parselogs: use -F to search fixed strings for grep
authorYi Zhao <yi.zhao@windriver.com>
Thu, 14 Jan 2016 07:08:37 +0000 (15:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jan 2016 17:37:23 +0000 (17:37 +0000)
commitbfc8304d4c10b5601a618011893369831baaf511
tree3f83d9a47b7acacd347e30f8b4604f5735c08111
parent7f6a5d2721631de5d6d2ce672c5a2879897354c4
oeqa/runtime/parselogs: use -F to search fixed strings for grep

The grep output is not correct if the log message contains special
characters. Use -F which tells grep to search for fixed strings, not
expressions and pass lists instead of strings to subprocess.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/runtime/parselogs.py