summaryrefslogtreecommitdiff
path: root/t/t0000-basic.sh
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@facebook.com>2008-05-20 06:49:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-05-23 21:15:01 (GMT)
commitd553e737897e8edbbc2092bf345fc58b2dae5251 (patch)
tree9de693a3d6cd4f0f76674925adc752476f4d00c5 /t/t0000-basic.sh
parentae299be0e5e610027e6492d48d70c1cbb0e9edd8 (diff)
downloadgit-d553e737897e8edbbc2092bf345fc58b2dae5251.zip
git-d553e737897e8edbbc2092bf345fc58b2dae5251.tar.gz
git-d553e737897e8edbbc2092bf345fc58b2dae5251.tar.bz2
Fold test-absolute-path into test-path-utils
Signed-off-by: David Reiss <dreiss@facebook.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0000-basic.sh')
-rwxr-xr-xt/t0000-basic.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
index 690f80a..d7cbc5c 100755
--- a/t/t0000-basic.sh
+++ b/t/t0000-basic.sh
@@ -301,14 +301,14 @@ test_expect_success 'absolute path works as expected' '
mkdir third &&
dir="$(cd .git; pwd -P)" &&
dir2=third/../second/other/.git &&
- test "$dir" = "$(test-absolute-path $dir2)" &&
+ test "$dir" = "$(test-path-utils make_absolute_path $dir2)" &&
file="$dir"/index &&
- test "$file" = "$(test-absolute-path $dir2/index)" &&
+ test "$file" = "$(test-path-utils make_absolute_path $dir2/index)" &&
basename=blub &&
- test "$dir/$basename" = "$(cd .git && test-absolute-path "$basename")" &&
+ test "$dir/$basename" = "$(cd .git && test-path-utils make_absolute_path "$basename")" &&
ln -s ../first/file .git/syml &&
sym="$(cd first; pwd -P)"/file &&
- test "$sym" = "$(test-absolute-path "$dir2/syml")"
+ test "$sym" = "$(test-path-utils make_absolute_path "$dir2/syml")"
'
test_expect_success 'very long name in the index handled sanely' '