summaryrefslogtreecommitdiffstats
path: root/t/lib-merge.sh
blob: 8734ebfc17f37fca87ac96e227463266d69c8755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Helper functions used by merge tests.

test_expect_merge_algorithm () {
	status_for_recursive=$1 status_for_ort=$2
	shift 2

	if test "$GIT_TEST_MERGE_ALGORITHM" = ort
	then
		test_expect_${status_for_ort} "$@"
	else
		test_expect_${status_for_recursive} "$@"
	fi
}