testing: Make sure the kernel exists when starting

This commit is contained in:
Tobias Brunner 2014-08-25 10:58:46 +02:00
parent cfdc620a3f
commit 6095714e64
1 changed files with 1 additions and 0 deletions

View File

@ -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"