From: Tobias Brunner Date: Mon, 25 Aug 2014 08:58:46 +0000 (+0200) Subject: testing: Make sure the kernel exists when starting X-Git-Tag: 5.2.1dr1~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6095714e64d500aabe08d578b3fabc8992134dc3;p=thirdparty%2Fstrongswan.git testing: Make sure the kernel exists when starting --- diff --git a/testing/start-testing b/testing/start-testing index 45cf4c9b9d..83291de280 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"