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:
parent
6120f74c73
commit
1e5a5921e3
@ -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}"
|
||||
|
||||
|
@ -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}"
|
||||
|
||||
|
@ -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}"
|
||||
|
||||
|
@ -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}"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user