Skip to content

Commit

Permalink
Fix test when test is run from a git worktree
Browse files Browse the repository at this point in the history
  • Loading branch information
erijo committed Jan 5, 2021
1 parent 630bc69 commit cd50c12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_unit_x_program.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down

0 comments on commit cd50c12

Please sign in to comment.