X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft0000-basic.sh;h=27b54cbb1216beef8b5f315708574825a1c81da3;hb=e371a4c648e72673fcfdf0b45192857dd149e2f5;hp=92de08822702f780c6895a5d2c070ee009ecfef7;hpb=2b459b483cb264d3e9a39cd7857da2ccab08179f;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)"