tests: Source lib.sh from the right directory

When testing in one of the VMs, tests are in /tests. Source the lib from
a relative directory instead.
This commit is contained in:
Lars Karlitski 2019-05-21 15:39:33 +02:00
parent 6120f74c73
commit 1e5a5921e3
6 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
#####
. /usr/share/beakerlib/beakerlib.sh
. ./tests/cli/lib/lib.sh
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -8,7 +8,7 @@
#####
. /usr/share/beakerlib/beakerlib.sh
. ./tests/cli/lib/lib.sh
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -8,7 +8,7 @@
#####
. /usr/share/beakerlib/beakerlib.sh
. ./tests/cli/lib/lib.sh
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -8,7 +8,7 @@
#####
. /usr/share/beakerlib/beakerlib.sh
. ./tests/cli/lib/lib.sh
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"

View File

@ -8,7 +8,7 @@
#####
. /usr/share/beakerlib/beakerlib.sh
. ./tests/cli/lib/lib.sh
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"
QEMU="qemu-system-$(uname -m) -machine accel=kvm:tcg"

View File

@ -8,7 +8,7 @@
#####
. /usr/share/beakerlib/beakerlib.sh
. ./tests/cli/lib/lib.sh
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"
QEMU="qemu-system-$(uname -m) -machine accel=kvm:tcg"