在 2016年01月08日 16:59, Burton, Ross 写道:
On 8 January 2016 at 08:44, Yi Zhao > wrote:
It still need to escape quotation marks if using -F option.
Consider the following log:
[521514.737] (EE) evdev: Qemu Tablet: Unable to open
在 2016年01月07日 20:21, Burton, Ross 写道:
On 7 January 2016 at 03:29, Yi Zhao > wrote:
Sometimes the grep output is not correct if the log message contains
some special characters. Use re.escape to escape all non-alphanumerics
On 8 January 2016 at 08:44, Yi Zhao wrote:
> It still need to escape quotation marks if using -F option.
> Consider the following log:
> [521514.737] (EE) evdev: Qemu Tablet: Unable to open evdev device
> "/dev/input/touchscreen0".
>
> We still need an extra step to
Sometimes the grep output is not correct if the log message contains
some special characters. Use re.escape to escape all non-alphanumerics
before grep
Signed-off-by: Yi Zhao
---
meta/lib/oeqa/runtime/parselogs.py |6 --
1 file changed, 4 insertions(+), 2