[CRIU] [PATCH 1/4] test: replace use of pcre grep with awk

Pavel Emelyanov xemul at parallels.com
Tue Aug 26 02:09:41 PDT 2014


On 08/26/2014 01:04 PM, Andrew Vagin wrote:
> On Mon, Aug 25, 2014 at 08:53:57PM -0700, Filipe Brandenburger wrote:
>> Unfortunately, grep -P is not ubiquitous, so use awk with two regexps to
>> simulate the negative forward lookup in the grep -P expression.
>>
>> Using awk doesn't really make it too unreadable, as using boolean operators
>> such as && and || might actually make it more intuitive than the extended
>> regexp.
>>
>> Tested:
>> - sudo make -C test zdtm_ns
>> - sudo make -C test zdtm_nons
>>
> 
> Acked-by: Andrew Vagin <avagin at parallels.com> for all four patches.
> 
> Thank you, Filipe.

Applied, thanks guys!



More information about the CRIU mailing list