From: bvassche Date: Wed, 14 Oct 2009 14:21:19 +0000 (+0000) Subject: Apply the 2.6.31 kmemcheck patch not only to current but also to future 2.6.31.*... X-Git-Url: http://git.etherboot.org/mirror/scst/.git/commitdiff_plain/22ae4e2ec7622936ed672859aa3f4cce4340e75d?hp=17ca81e279a5ee0b0859711d4a1f8b93d7c54f1c Apply the 2.6.31 kmemcheck patch not only to current but also to future 2.6.31.* kernels since the change is small that the submitted patch will be integrated. git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1210 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 3d757a3..ee80a26 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -119,7 +119,7 @@ See also http://lkml.org/lkml/2009/4/5/120 #define likely_notrace(x) __builtin_expect(!!(x), 1) EOF fi - if [ "$1" = "2.6.31" -o "$1" = "2.6.31.1" -o "$1" = "2.6.31.2" -o "$1" = "2.6.31.3" -o "$1" = "2.6.31.4" ] + if [ "$1" = "2.6.31" -o "${1#2.6.31.}" != "$1" ] then cd "../linux-$1" || return $? patch -f -s -p1 <<'EOF'