From cd50c128ba68eb845c83e5d1810426f25aeef7fc Mon Sep 17 00:00:00 2001 From: Erik Flodin Date: Tue, 5 Jan 2021 21:56:50 +0100 Subject: [PATCH] Fix test when test is run from a git worktree --- test/test_unit_x_program.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_unit_x_program.py b/test/test_unit_x_program.py index 121aa0a..e26ad40 100644 --- a/test/test_unit_x_program.py +++ b/test/test_unit_x_program.py @@ -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 """