Signed-off-by: Rob Browning <
r...@defaultvalue.org>
(cherry picked from commit 234a6e77ac20b088dcae7d66185bb872bac8a027)
---
test/ext/test_get.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/ext/test_get.py b/test/ext/test_get.py
index da50839b..323866ce 100644
--- a/test/ext/test_get.py
+++ b/test/ext/test_get.py
@@ -118,7 +118,7 @@ def validate_commit(src_id, dest_id):
src_cat = exr.out
exr = verify_rcz((b'git', b'--git-dir', b'get-dest', b'cat-file', b'commit', dest_id))
# Check parent connectivity, etc.
- ex((b'git', b'--git-dir', b'get-dest', b'log', b'-n2', dest_id),
+ ex((b'git', b'-P', b'--git-dir', b'get-dest', b'log', b'-n2', dest_id),
stdin=DEVNULL)
if exr.rc != 0: return False
@@ -150,7 +150,7 @@ def validate_commit(src_id, dest_id):
def _validate_save(orig_dir, save_path, commit_id, tree_id):
global bup_cmd
# Check parent connectivity, etc.
- ex((b'git', b'--git-dir', b'get-dest', b'log', b'-n2', commit_id),
+ ex((b'git', b'-P', b'--git-dir', b'get-dest', b'log', b'-n2', commit_id),
stdin=DEVNULL)
rmrf(b'restore')
exr = verify_rcz((bup_cmd, b'-d', b'get-dest',
@@ -212,7 +212,7 @@ def validate_new_tagged_commit(tag_name, commit_id, tree_id, get_out):
wvpassne(commit_id, get_tag_id)
validate_tree(tree_id, tag_name + b':')
# Check parent connectivity, etc.
- ex((b'git', b'--git-dir', b'get-dest', b'log', b'-n2', tag_name),
+ ex((b'git', b'-P', b'--git-dir', b'get-dest', b'log', b'-n2', tag_name),
stdin=DEVNULL)
def _run_get(disposition, method, what):
--
2.47.3