Merge branch 'lw/test-fix'

* lw/test-fix:
  t/test-lib.sh: resolve symlinks in working directory, for pathname comparisons
maint
Junio C Hamano 2008-06-01 23:45:37 -07:00
commit f0d2a057c1
1 changed files with 3 additions and 1 deletions

View File

@ -419,7 +419,9 @@ rm -fr "$test" || {
}

test_create_repo "$test"
cd "$test" || exit 1
# Use -P to resolve symlinks in our working directory so that the cwd
# in subprocesses like git equals our $PWD (for pathname comparisons).
cd -P "$test" || exit 1

this_test=$(expr "./$0" : '.*/\(t[0-9]*\)-[^/]*$')
for skp in $GIT_SKIP_TESTS