t3509: use unconstrained initial test to setup repository.

The first test did not run on msysGit due to the SYMLINKS constraint and
so subsequent tests failed because the test repository was not initialized.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Pat Thoyts 2011-02-03 15:31:42 +00:00 committed by Junio C Hamano
parent 13af8cbd6a
commit 899663f8e4

View File

@ -3,12 +3,14 @@
test_description='Test cherry-pick with directory/file conflicts' test_description='Test cherry-pick with directory/file conflicts'
. ./test-lib.sh . ./test-lib.sh
test_expect_success SYMLINKS 'Setup rename across paths each below D/F conflicts' ' test_expect_success 'Initialize repository' '
mkdir a && mkdir a &&
>a/f && >a/f &&
git add a && git add a &&
git commit -m a && git commit -m a
'
test_expect_success SYMLINKS 'Setup rename across paths each below D/F conflicts' '
mkdir b && mkdir b &&
ln -s ../a b/a && ln -s ../a b/a &&
git add b && git add b &&