]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Make sure the kernel exists when starting
authorTobias Brunner <tobias@strongswan.org>
Mon, 25 Aug 2014 08:58:46 +0000 (10:58 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 25 Aug 2014 08:58:46 +0000 (10:58 +0200)
testing/start-testing

index 45cf4c9b9de4e10fe61938133f77b5d10f6b95e0..83291de280fd5265b569c21a74464dbbd93224da 100755 (executable)
@@ -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"