summaryrefslogtreecommitdiff
path: root/t/t2200-add-update.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-06-20 16:02:18 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-20 16:02:18 -0700
commitc0266ed2759fa1838384c37faa6d7264edaaf04b (patch)
treefef5a3e38e75495e8a91881e9c8a1b35c9e536c1 /t/t2200-add-update.sh
parentMerge branch 'nd/make-wildmatch-default' (diff)
parentt4011: remove SYMLINKS prerequisite (diff)
downloadtgif-c0266ed2759fa1838384c37faa6d7264edaaf04b.tar.xz
Merge branch 'js/test-ln-s-add'
Many tests that check the behaviour of symbolic links stored in the index or the tree objects do not have to be skipped on a filesystem that lack symbolic link support. * js/test-ln-s-add: t4011: remove SYMLINKS prerequisite t6035: use test_ln_s_add to remove SYMLINKS prerequisite t3509, t4023, t4114: use test_ln_s_add to remove SYMLINKS prerequisite t3100: use test_ln_s_add to remove SYMLINKS prerequisite t3030: use test_ln_s_add to remove SYMLINKS prerequisite t0000: use test_ln_s_add to remove SYMLINKS prerequisite tests: use test_ln_s_add to remove SYMLINKS prerequisite (trivial cases) tests: introduce test_ln_s_add t3010: modernize style test-chmtime: Fix exit code on Windows
Diffstat (limited to 't/t2200-add-update.sh')
-rwxr-xr-xt/t2200-add-update.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/t2200-add-update.sh b/t/t2200-add-update.sh
index b2bd41918e..9bf2bdffd2 100755
--- a/t/t2200-add-update.sh
+++ b/t/t2200-add-update.sh
@@ -96,11 +96,10 @@ test_expect_success 'non-limited update in subdir leaves root alone' '
test_cmp expect actual
'
-test_expect_success SYMLINKS 'replace a file with a symlink' '
+test_expect_success 'replace a file with a symlink' '
rm foo &&
- ln -s top foo &&
- git add -u -- foo
+ test_ln_s_add top foo
'