Skip to content
Commit fc983814 authored by Matthias Neuer's avatar Matthias Neuer Committed by Pavel Emelyanov
Browse files

fixed kernel version detection



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

because "14-2-amd64 -ge 11" is false.

Signed-off-by: default avatarMatthias Neuer <matthias.neuer@uni-ulm.de>
Reviewed-by: default avatarChristopher Covington <cov@codeaurora.org>
Acked-by: default avatarAndrew Vagin <avagin@parallels.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent ada46644
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment