@matheusbsbs / matheus-bagliano / commits / 0daed41791
Fork 0

t1020: test !alias in subdirectory

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael J Gruber committed Apr 27, 2011 at 10:36 UTC 0daed41791373a5530c2b33e09b134ce8820e0c2
1 file changed +11
t/t1020-subdirectory.sh
+11
@@ -118,6 +118,17 @@ test_expect_success 'alias expansion' '
118 git ss
119 )
120 '
121 +
122 +test_expect_success '!alias expansion' '
123 + pwd >expect &&
124 + (
125 + git config alias.test !pwd &&
126 + cd dir &&
127 + git test >../actual
128 + ) &&
129 + test_cmp expect actual
130 +'
131 +
132 test_expect_success 'no file/rev ambiguity check inside .git' '
133 git commit -a -m 1 &&
134 (