fetch-pack: eliminate spurious error messages
[gitweb.git] / t / t4202-log.sh
index 71be59d446f773c4b567f00c469ac26225d11cb8..0baaad2a240d401a29b341e1bf01173842a2ab54 100755 (executable)
@@ -803,7 +803,14 @@ sanitize_output () {
 test_expect_success 'log --graph with diff and stats' '
        git log --graph --pretty=short --stat -p >actual &&
        sanitize_output >actual.sanitized <actual &&
-       test_cmp expect actual.sanitized
+       test_i18ncmp expect actual.sanitized
+'
+
+test_expect_success 'dotdot is a parent directory' '
+       mkdir -p a/b &&
+       ( echo sixth && echo fifth ) >expect &&
+       ( cd a/b && git log --format=%s .. ) >actual &&
+       test_cmp expect actual
 '
 
 test_done