pungi/tests/test_compose.sh
Lubomír Sedlář 470b3e4923 tests: Fix test_compose.sh paths
The paths need to be absolute so that subprocesses started during the
compose with a modified cwd will still work.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-08-10 09:28:36 +02:00

21 lines
404 B
Bash
Executable File

#!/bin/sh
set -e
HERE=$(realpath "$(dirname "$0")")
PYTHONPATH=$HERE/../:$PYTHONPATH
PATH=$HERE/../bin:$PATH
export PYTHONPATH PATH
mkdir -p _composes
pungi-koji \
--target-dir="$HERE/_composes" \
--old-composes="$HERE/_composes" \
--config="$HERE/data/dummy-pungi.conf" \
--test "$@"
# Run this to create unified ISOs for the just created compose
#pungi-create-unified-isos _composes/latest-DP-1/