mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Fix test when test is run from a git worktree
This commit is contained in:
parent
630bc69b37
commit
cd50c128ba
@ -27,7 +27,8 @@ def test_x_program(
|
|||||||
# test require_[git,gpg]
|
# test require_[git,gpg]
|
||||||
script = f"""
|
script = f"""
|
||||||
YADM_TEST=1 source {paths.pgm}
|
YADM_TEST=1 source {paths.pgm}
|
||||||
YADM_CONFIG="{paths.config}"
|
YADM_OVERRIDE_CONFIG="{paths.config}"
|
||||||
|
configure_paths
|
||||||
require_{program}
|
require_{program}
|
||||||
echo ${program.upper()}_PROGRAM
|
echo ${program.upper()}_PROGRAM
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user