summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 127df8c)
raw | patch | inline | side by side (parent: 127df8c)
author | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Apr 2011 23:12:47 +0000 (16:12 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Apr 2011 22:52:47 +0000 (15:52 -0700) |
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-httpd.sh | patch | blob | history | |
t/t2019-checkout-ambiguous-ref.sh | patch | blob | history |
diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh
index d3829b8d0a18d15590f4cbde4606d130a9293ead..b8996a373a7444b54823f36159ea1a8634e4aeee 100644 (file)
--- a/t/lib-httpd.sh
+++ b/t/lib-httpd.sh
grep "^ ! \[rejected\][ ]*$BRANCH -> $BRANCH (non-fast-forward)$" output
'
- test_expect_success C_LOCALE_OUTPUT 'non-fast-forward push shows help message' '
- grep "To prevent you from losing history, non-fast-forward updates were rejected" \
- output
+ test_expect_success 'non-fast-forward push shows help message' '
+ test_i18ngrep "To prevent you from losing history, non-fast-forward updates were rejected" output
'
}
index cc34e5535bc5ab7441ba375540e5feec2dfb2d6b..b99d5192a96ec77ef6a99cb86518375c447b48a9 100755 (executable)
test_cmp expect file
'
-test_expect_success C_LOCALE_OUTPUT 'checkout reports switch to branch' '
- grep "Switched to branch" stderr &&
- ! grep "^HEAD is now at" stderr
+test_expect_success 'checkout reports switch to branch' '
+ test_i18ngrep "Switched to branch" stderr &&
+ test_i18ngrep ! "^HEAD is now at" stderr
'
test_expect_success 'checkout vague ref succeeds' '
test_cmp expect file
'
-test_expect_success VAGUENESS_SUCCESS,C_LOCALE_OUTPUT 'checkout reports switch to branch' '
- grep "Switched to branch" stderr &&
- ! grep "^HEAD is now at" stderr
+test_expect_success VAGUENESS_SUCCESS 'checkout reports switch to branch' '
+ test_i18ngrep "Switched to branch" stderr &&
+ test_i18ngrep ! "^HEAD is now at" stderr
'
test_done