@@ -176,7 +176,7 @@ git rev-parse refs/notes/z > pre_merge_z
176176test_expect_success ' merge z into m (== y) with default ("manual") resolver => Conflicting 3-way merge' '
177177 git update-ref refs/notes/m refs/notes/y &&
178178 git config core.notesRef refs/notes/m &&
179- test_must_fail git notes merge z >output &&
179+ test_must_fail git notes merge z >output 2>&1 &&
180180 # Output should point to where to resolve conflicts
181181 test_i18ngrep "\\.git/NOTES_MERGE_WORKTREE" output &&
182182 # Inspect merge conflicts
@@ -379,7 +379,7 @@ git rev-parse refs/notes/z > pre_merge_z
379379test_expect_success ' redo merge of z into m (== y) with default ("manual") resolver => Conflicting 3-way merge' '
380380 git update-ref refs/notes/m refs/notes/y &&
381381 git config core.notesRef refs/notes/m &&
382- test_must_fail git notes merge z >output &&
382+ test_must_fail git notes merge z >output 2>&1 &&
383383 # Output should point to where to resolve conflicts
384384 test_i18ngrep "\\.git/NOTES_MERGE_WORKTREE" output &&
385385 # Inspect merge conflicts
@@ -413,7 +413,7 @@ git rev-parse refs/notes/y > pre_merge_y
413413git rev-parse refs/notes/z > pre_merge_z
414414
415415test_expect_success ' redo merge of z into m (== y) with default ("manual") resolver => Conflicting 3-way merge' '
416- test_must_fail git notes merge z >output &&
416+ test_must_fail git notes merge z >output 2>&1 &&
417417 # Output should point to where to resolve conflicts
418418 test_i18ngrep "\\.git/NOTES_MERGE_WORKTREE" output &&
419419 # Inspect merge conflicts
@@ -494,7 +494,7 @@ cp expect_log_y expect_log_m
494494
495495test_expect_success ' redo merge of z into m (== y) with default ("manual") resolver => Conflicting 3-way merge' '
496496 git update-ref refs/notes/m refs/notes/y &&
497- test_must_fail git notes merge z >output &&
497+ test_must_fail git notes merge z >output 2>&1 &&
498498 # Output should point to where to resolve conflicts
499499 test_i18ngrep "\\.git/NOTES_MERGE_WORKTREE" output &&
500500 # Inspect merge conflicts
0 commit comments