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

t7508-status: status --porcelain ignores relative paths setting

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

Michael J Gruber committed Dec 8, 2009 at 11:12 UTC c521bb7114e081d81eb7cd77cf5989d30160d0a2
1 file changed +18
t/t7508-status.sh
+18
@@ -297,6 +297,24 @@ test_expect_success 'status -s with relative paths' '
297
298 '
299
300 +cat > expect << \EOF
301 + M dir1/modified
302 +A dir2/added
303 +?? dir1/untracked
304 +?? dir2/modified
305 +?? dir2/untracked
306 +?? expect
307 +?? output
308 +?? untracked
309 +EOF
310 +
311 +test_expect_success 'status --porcelain ignores relative paths setting' '
312 +
313 + (cd dir1 && git status --porcelain) > output &&
314 + test_cmp expect output
315 +
316 +'
317 +
318 cat > expect << \EOF
319 # On branch master
320 # Changes to be committed: