Fix test when test is run from a git worktree

This commit is contained in:
Erik Flodin 2021-01-05 21:56:50 +01:00
parent 630bc69b37
commit cd50c128ba
No known key found for this signature in database
GPG Key ID: 420A7C865EE3F85F
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ def test_x_program(
# test require_[git,gpg]
script = f"""
YADM_TEST=1 source {paths.pgm}
YADM_CONFIG="{paths.config}"
YADM_OVERRIDE_CONFIG="{paths.config}"
configure_paths
require_{program}
echo ${program.upper()}_PROGRAM
"""