diff tests/test-i18n.t @ 17015:73d20de5f30b

tests: add missing no-outer-repo requirements Outer repos (if any) will now never be touched by the tests. But it is better to run without any repos around the tmp directory.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 20 Jun 2012 23:41:21 +0200
parents 2264e3e39cba
children 84939b728749
line wrap: on
line diff
--- a/tests/test-i18n.t	Wed Jun 20 23:41:21 2012 +0200
+++ b/tests/test-i18n.t	Wed Jun 20 23:41:21 2012 +0200
@@ -2,6 +2,8 @@
 
   $ "$TESTDIR/hghave" gettext || exit 80
 
+#if no-outer-repo
+
 Test that translations are compiled and installed correctly.
 
 Default encoding in tests is "ascii" and the translation is encoded
@@ -23,6 +25,8 @@
   abortado: n\xe3o foi encontrado um reposit\xf3rio em '$TESTTMP' (.hg n\xe3o encontrado)! (esc)
   [255]
 
+#endif
+
 Test keyword search in translated help text:
 
   $ HGENCODING=UTF-8 LANGUAGE=de hg help -k blättern