test: use absolute path in run-builder.sh

In case `TEST_PATH` was not specified as command line argument,
it was falling back to `test`. Make the latter an absolute path,
by pre-pending `PWD`, otherwise podman complains about the name
of the volume.
This commit is contained in:
Christian Kellner 2020-11-19 10:49:11 +01:00 committed by Tom Gundersen
parent c826db38e7
commit ba25e0f3d7

View file

@ -1,7 +1,7 @@
#!/usr/bin/bash
set -euo pipefail
TEST_PATH=${2:-test}
TEST_PATH=${2:-${PWD}/test}
SHARE_DIR=${SHARE_DIR:-/tmp/osbuild-composer-koji-test}
DATA_DIR=${DATA_DIR:-/var/tmp/osbuild-koji-data}