Fix test when test is run from a git worktree
This commit is contained in:
parent
630bc69b37
commit
cd50c128ba
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue