t1020: test !alias in subdirectory

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Michael J Gruber 2011-04-27 10:36:26 +02:00 committed by Junio C Hamano
parent ec014eac0e
commit 0daed41791

View File

@ -118,6 +118,17 @@ test_expect_success 'alias expansion' '
git ss
)
'
test_expect_success '!alias expansion' '
pwd >expect &&
(
git config alias.test !pwd &&
cd dir &&
git test >../actual
) &&
test_cmp expect actual
'
test_expect_success 'no file/rev ambiguity check inside .git' '
git commit -a -m 1 &&
(