Update messages in preparation for i18n
[gitweb.git] / t / t7063-status-untracked-cache.sh
index dba7f50bbb34c19b421d8d4040a2169c25193ec1..c9162c54f4ceab56cd9fbbb455f3030cc7ae60d9 100755 (executable)
@@ -14,6 +14,9 @@ test_description='test untracked cache'
 # See <20160803174522.5571-1-pclouds@gmail.com> if you want to know
 # more.
 
+GIT_FORCE_UNTRACKED_CACHE=true
+export GIT_FORCE_UNTRACKED_CACHE
+
 sync_mtime () {
        find . -type d -ls >/dev/null
 }
@@ -663,7 +666,7 @@ test_expect_success 'test ident field is working' '
        mkdir ../other_worktree &&
        cp -R done dthree dtwo four three ../other_worktree &&
        GIT_WORK_TREE=../other_worktree git status 2>../err &&
-       echo "warning: Untracked cache is disabled on this system or location." >../expect &&
+       echo "warning: untracked cache is disabled on this system or location" >../expect &&
        test_i18ncmp ../expect ../err
 '
 
@@ -707,7 +710,7 @@ test_expect_success SYMLINKS 'setup worktree for symlink test' '
        git commit -m"second commit"
 '
 
-test_expect_failure SYMLINKS '"status" after symlink replacement should be clean with UC=true' '
+test_expect_success SYMLINKS '"status" after symlink replacement should be clean with UC=true' '
        git checkout HEAD~ &&
        status_is_clean &&
        status_is_clean &&
@@ -742,7 +745,7 @@ test_expect_success 'setup worktree for non-symlink test' '
        git commit -m"second commit"
 '
 
-test_expect_failure '"status" after file replacement should be clean with UC=true' '
+test_expect_success '"status" after file replacement should be clean with UC=true' '
        git checkout HEAD~ &&
        status_is_clean &&
        status_is_clean &&