t3030: use test_ln_s_add to remove SYMLINKS prerequisite
commitbba56042e7011a5555cb8b44a84e0d853fa43af5
authorJohannes Sixt <j6t@kdbg.org>
Fri, 7 Jun 2013 20:53:30 +0000 (7 22:53 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Jun 2013 22:01:49 +0000 (7 15:01 -0700)
tree96279d67c40e9dc322a6a8b828efce1d0a627211
parentc723a76d4da632f8fbb8e687cea751f6d16b4cb0
t3030: use test_ln_s_add to remove SYMLINKS prerequisite

The test cases include many corner-cases of merge-recursive's behavior,
some of them involve type changes and symbolic links. All cases, including
those that are protected by SYMLINKS check only whether the result of
merge-recursive is correctly stored in the database and the index; the
file system is not investigated. Use test_ln_s_add to enter a symbolic
link in the index in the test setup and run the tests without the
SYMLINKS prerequisite.

Notice that one test that has the SYMLINKS protection removed is an
expect_failure. There is a possibility that the test fails differently
depending on whether SYMLINKS is present or not; but this is not the case
presently.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3030-merge-recursive.sh