regtests: Reflect kernel.org directory tree changes

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3924 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-11-16 18:50:24 +00:00
parent 95f29de215
commit dd2d8271dd

View File

@@ -279,7 +279,11 @@ function download_kernel {
local plevel="$(patchlevel $1)"
local series="$1"
series="${series:0:3}"
if [ "${series:0:2}" = "3." ]; then
series="3.x"
else
series="${series:0:3}"
fi
mkdir -p "${kernel_sources}" || return $?
test -w "${kernel_sources}" || return $?
(
@@ -542,7 +546,7 @@ fi
# Where to store persistenly downloaded kernel tarballs and kernel patches.
kernel_sources="$HOME/software/downloads"
# URL for downloading kernel tarballs and kernel patches.
kernel_mirror="ftp://ftp.eu.kernel.org/pub/linux/kernel"
kernel_mirror="ftp://ftp.kernel.org/pub/linux/kernel"
kernel_longterm="http://www.kernel.org/pub/linux/kernel"
kernel_versions=""
# Directory in which the regression test output files will be stored. Must be