1
0
Fork 0
mirror of synced 2024-12-21 22:21:08 -05:00

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

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
"""