Make test scripts callable from any path
This commit is contained in:
committed by
Tobias Brunner
parent
0593b6c975
commit
aafc0a1799
@@ -1,9 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
. $PWD/scripts/function.sh
|
||||
DIR=$(dirname `readlink -f $0`)
|
||||
. $DIR/testing.conf
|
||||
. $DIR/scripts/function.sh
|
||||
|
||||
NETWORKS="vnet1 vnet2 vnet3"
|
||||
CONFDIR=$PWD/config/kvm
|
||||
CONFDIR=$DIR/config/kvm
|
||||
KNLSRC=$BUILDDIR/$KERNEL/arch/x86/boot/bzImage
|
||||
KNLTARGET=/var/run/kvm-swan-kernel
|
||||
HOSTFSTARGET=/var/run/kvm-swan-hostfs
|
||||
|
||||
Reference in New Issue
Block a user