[CRIU] zdtm.sh not working in debian testing

Pavel Emelyanov xemul at parallels.com
Wed Sep 17 07:48:42 PDT 2014


On 09/17/2014 06:35 PM, Matthias Neuer wrote:
> Hi.
> 
> I'm using criu 1.3.
> My debian testing produces the following output for uname:
> $ uname -r
> 3.14-2-amd64
> 
> and so:
> $ set -- `uname -r | sed 's/\./ /g'`
> $ echo $1
> 3
> $ echo $2
> 14-2-amd64
> 
> this causes zdtm.sh to fail for me on line 293:
> [ $1 -eq 3 -a $2 -ge 11 ] && return 0
> 
> Maybe change the code to something like that:
> $ set -- `uname -r | sed 's/[\.-]/ /g'`

No problem. Would you send a patch, so I could just apply one?

> $ echo $1
> 3
> $ echo $2
> 14
> 
> Thanks
> Matthias
> 



More information about the CRIU mailing list