aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-08-25 10:58:46 +0200
committerTobias Brunner <tobias@strongswan.org>2014-08-25 10:58:46 +0200
commit6095714e64d500aabe08d578b3fabc8992134dc3 (patch)
tree1b12d081f7eab09d99590fe3ca9615a3054571a1
parentcfdc620a3f1a924158369b959ed9061f6aa4bb70 (diff)
downloadstrongswan-6095714e64d500aabe08d578b3fabc8992134dc3.tar.bz2
strongswan-6095714e64d500aabe08d578b3fabc8992134dc3.tar.xz
testing: Make sure the kernel exists when starting
-rwxr-xr-xtesting/start-testing1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/start-testing b/testing/start-testing
index 45cf4c9b9..83291de28 100755
--- a/testing/start-testing
+++ b/testing/start-testing
@@ -17,6 +17,7 @@ echo "Starting test environment"
check_commands kvm virsh
+[ -f $KNLSRC ] || die "Kernel $KNLSRC not found"
log_action "Deploying kernel $KERNEL"
execute "ln -fs $KNLSRC $KNLTARGET"