test: fix search path for scripts

Fails when building in a sub-directory

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-11-22 11:22:04 +01:00
parent d0166e505d
commit 2d95e0ccf0
5 changed files with 20 additions and 5 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/sh
. ./start.sh
if [ x"${srcdir}" = x ]; then
srcdir=.
fi
. ${srcdir}/start.sh
export MSG="no-openlog-apitest"