aboutsummaryrefslogtreecommitdiff
path: root/t/t7506-status-submodule.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:42:14 +0000
committerJunio C Hamano <gitster@pobox.com>2011-03-09 23:52:56 -0800
commit8ec9bc0dd5852e5468db576b0cba39f9179d4610 (patch)
tree431774100f19f5672c2311e216460df9de0a8bbe /t/t7506-status-submodule.sh
parent355ec7a1303af862a76961603ea2a2a11a0d204c (diff)
downloadgit-8ec9bc0dd5852e5468db576b0cba39f9179d4610.tar.gz
git-8ec9bc0dd5852e5468db576b0cba39f9179d4610.tar.xz
i18n: git-status "nothing to commit" messages
Gettextize the "nothing to commit" messages. Many tests explicitly checked for this message. Change them to skip under GETTEXT_POISON=YesPlease. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7506-status-submodule.sh')
-rwxr-xr-xt/t7506-status-submodule.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t7506-status-submodule.sh b/t/t7506-status-submodule.sh
index fa473a053..c56733253 100755
--- a/t/t7506-status-submodule.sh
+++ b/t/t7506-status-submodule.sh
@@ -20,12 +20,12 @@ test_expect_success 'setup' '
git commit -m "Add submodule sub"
'
-test_expect_success 'status clean' '
+test_expect_success C_LOCALE_OUTPUT 'status clean' '
git status >output &&
grep "nothing to commit" output
'
-test_expect_success 'commit --dry-run -a clean' '
+test_expect_success C_LOCALE_OUTPUT 'commit --dry-run -a clean' '
test_must_fail git commit --dry-run -a >output &&
grep "nothing to commit" output
'
@@ -177,12 +177,12 @@ test_expect_success 'rm submodule contents' '
rm -rf sub/* sub/.git
'
-test_expect_success 'status clean (empty submodule dir)' '
+test_expect_success C_LOCALE_OUTPUT 'status clean (empty submodule dir)' '
git status >output &&
grep "nothing to commit" output
'
-test_expect_success 'status -a clean (empty submodule dir)' '
+test_expect_success C_LOCALE_OUTPUT 'status -a clean (empty submodule dir)' '
test_must_fail git commit --dry-run -a >output &&
grep "nothing to commit" output
'