[CRIU] [PATCH] Add 50K'th line in the source code

Pavel Emelyanov xemul at parallels.com
Mon Jul 7 11:41:05 PDT 2014


On 07/07/2014 05:50 PM, Cyrill Gorcunov wrote:
> On Mon, Jul 07, 2014 at 08:35:32AM -0500, Serge Hallyn wrote:
>> Quoting Pavel Emelyanov (xemul at parallels.com):
>>> As per current top commit (9c0c23c0) the amount of code in CRIU
>>> _without_ the contents of the test/ directory is
>>>
>>> $ git grep -l . | egrep -v ^test | xargs wc -l
>>> ...
>>> 49999
>>>
>>> This is the only chance for such a great one-liner :)
>>>
>>> The place in the code is not completely random -- it's one of the
>>> few occurrences of two consecutive empty lines in a .c file.
>>>
>>> Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
>>
>> But is it bisect-safe?
> 
> We've tested it on a couple of machines but defenitly more
> testing would be appreciated ;)

Absolutely. Especially with the -b flag to check backward compatibility too!



More information about the CRIU mailing list