[CRIU] [PATCH] fixed kernel version detection
Matthias Neuer
matthias.neuer at uni-ulm.openvz.org
Thu Sep 18 00:50:02 PDT 2014
Signed-off-by: Matthias Neuer <matthias.neuer at uni-ulm.de>
---
test/zdtm.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/zdtm.sh b/test/zdtm.sh
index f6011ea..b9a7708 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -291,7 +291,7 @@ git://git.kernel.org/pub/scm/linux/kernel/git/gorcunov/linux-cr.git
===================================================================
EOF
- set -- `uname -r | sed 's/\./ /g'`
+ set -- `uname -r | sed 's/[\.-]/ /g'`
[ $1 -gt 3 ] && return 0
[ $1 -eq 3 -a $2 -ge 11 ] && return 0
--
2.1.0
More information about the CRIU
mailing list