From ba25e0f3d73212f96b9d1e813142e3dbaa369ef5 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 19 Nov 2020 10:49:11 +0100 Subject: [PATCH] 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. --- test/run-builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run-builder.sh b/test/run-builder.sh index dfb3e31..b58587d 100755 --- a/test/run-builder.sh +++ b/test/run-builder.sh @@ -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}