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 <schwab@suse.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Andreas Schwab 2016-11-10 09:31:18 +01:00 коммит произвёл Junio C Hamano
Родитель 734fde2d71
Коммит c1e0dc59bd
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -193,7 +193,8 @@ test_expect_success 'custom merge does not lock index' '
"* merge=ours" "text merge=sleep-one-second" && "* merge=ours" "text merge=sleep-one-second" &&
test_config merge.ours.driver true && test_config merge.ours.driver true &&
test_config merge.sleep-one-second.driver ./sleep-one-second.sh && test_config merge.sleep-one-second.driver ./sleep-one-second.sh &&
git merge master git merge master &&
test -f sleep.pid
' '
test_done test_done