diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2012-09-07 00:40:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-06 16:19:57 -0700 |
commit | 8da650b456d8fd744abf401a67535acbdd6c22c7 (patch) | |
tree | 0baf211b39cc994b7808fbe7bfce7f60453e7e3c /t/t0000-basic.sh | |
parent | Prepare for 1.7.11.6 (diff) | |
download | tgif-8da650b456d8fd744abf401a67535acbdd6c22c7.tar.xz |
t0060: move tests of real_path() from t0000 to here
Suggested by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0000-basic.sh')
-rwxr-xr-x | t/t0000-basic.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh index ccb5435b2a..ae6a3f0777 100755 --- a/t/t0000-basic.sh +++ b/t/t0000-basic.sh @@ -450,24 +450,6 @@ test_expect_success 'update-index D/F conflict' ' test $numpath0 = 1 ' -test_expect_success SYMLINKS 'real path works as expected' ' - mkdir first && - ln -s ../.git first/.git && - mkdir second && - ln -s ../first second/other && - mkdir third && - dir="$(cd .git; pwd -P)" && - dir2=third/../second/other/.git && - test "$dir" = "$(test-path-utils real_path $dir2)" && - file="$dir"/index && - test "$file" = "$(test-path-utils real_path $dir2/index)" && - basename=blub && - test "$dir/$basename" = "$(cd .git && test-path-utils real_path "$basename")" && - ln -s ../first/file .git/syml && - sym="$(cd first; pwd -P)"/file && - test "$sym" = "$(test-path-utils real_path "$dir2/syml")" -' - test_expect_success 'very long name in the index handled sanely' ' a=a && # 1 |