Skip to content

Commit c1e0dc5

Browse files
andreas-schwabgitster
authored andcommitted
t6026-merge-attr: ensure that the merge driver was called
Explicitly check for the existence of the pid file to test that the merge driver was actually called. Signed-off-by: Andreas Schwab <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 734fde2 commit c1e0dc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/t6026-merge-attr.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ test_expect_success 'custom merge does not lock index' '
193193
"* merge=ours" "text merge=sleep-one-second" &&
194194
test_config merge.ours.driver true &&
195195
test_config merge.sleep-one-second.driver ./sleep-one-second.sh &&
196-
git merge master
196+
git merge master &&
197+
test -f sleep.pid
197198
'
198199

199200
test_done

0 commit comments

Comments
 (0)