sha1-file.c: mark more strings for translation
[gitweb.git] / t / t1014-read-tree-confusing.sh
index ec310d59386c1ab8de9e1d4d37aa69093234c9ed..2f5a25d503861a5a03e60bdc1087f27f72c0e60e 100755 (executable)
@@ -15,8 +15,17 @@ test_expect_success 'enable core.protectHFS for rejection tests' '
        git config core.protectHFS true
 '
 
+test_expect_success 'enable core.protectNTFS for rejection tests' '
+       git config core.protectNTFS true
+'
+
 while read path pretty; do
        : ${pretty:=$path}
+       case "$path" in
+       *SPACE)
+               path="${path%SPACE} "
+               ;;
+       esac
        test_expect_success "reject $pretty at end of path" '
                printf "100644 blob %s\t%s" "$blob" "$path" >tree &&
                bogus=$(git mktree <tree) &&
@@ -36,6 +45,10 @@ done <<-EOF
 ${u200c}.Git {u200c}.Git
 .gI${u200c}T .gI{u200c}T
 .GiT${u200c} .GiT{u200c}
+git~1
+.git.SPACE .git.{space}
+.\\\\.GIT\\\\foobar backslashes
+.git\\\\foobar backslashes2
 EOF
 
 test_expect_success 'utf-8 paths allowed with core.protectHFS off' '