X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft0000-basic.sh;h=27b54cbb1216beef8b5f315708574825a1c81da3;hb=adf59ec127f447aa83c84f9dbe2ae4e6417f3760;hp=92de08822702f780c6895a5d2c070ee009ecfef7;hpb=6bc4c72132adbdc06c428f86a96f27e4f8173b99;p=git.git diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh index 92de08822..27b54cbb1 100755 --- a/t/t0000-basic.sh +++ b/t/t0000-basic.sh @@ -304,6 +304,8 @@ test_expect_success 'absolute path works as expected' ' test "$dir" = "$(test-absolute-path $dir2)" && file="$dir"/index && test "$file" = "$(test-absolute-path $dir2/index)" && + basename=blub && + test "$dir/$basename" = $(cd .git && test-absolute-path $basename) && ln -s ../first/file .git/syml && sym="$(cd first; pwd -P)"/file && test "$sym" = "$(test-absolute-path $dir2/syml)"