path: root/t/
diff options
authorJunio C Hamano <>2005-09-09 01:50:33 (GMT)
committerJunio C Hamano <>2005-09-09 01:50:33 (GMT)
commitbc6146d2abcf3800eb3683cfe972cabd38ff4796 (patch)
tree061f79e214d9071b392d530ca83d0c12b1ba4200 /t/
parent2f0f8b71ee45bcf91c2de480474a26030596fe3c (diff)
'build' scripts before installing.
Earlier we renamed to git-foo while installing, which was mostly done by inertia than anything else. This however made writing tests to use scripts harder. This patch builds the scripts the same way as we build binaries from their sources. As a side effect, you can now specify non-standard paths you have your Perl binary is in when running the make. Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/')
1 files changed, 3 insertions, 3 deletions
diff --git a/t/ b/t/
index 6e36398..5f98f64 100755
--- a/t/
+++ b/t/
@@ -13,12 +13,12 @@ handled. Specifically, that a bogus branch is not created.
test_expect_success \
'prepare an trivial repository' \
'echo Hello > A &&
- ../../git-update-index --add A &&
- ../../ -m "Initial commit."'
+ git-update-index --add A &&
+ git-commit -m "Initial commit."'
test_expect_failure \
'git branch --help should return error code' \
- '../../ --help'
+ 'git-branch --help'
test_expect_failure \
'git branch --help should not have created a bogus branch' \