Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-pull @ 488:77c66c4eec0e
[PATCH] Set locale before run-tests does anything
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Set locale before run-tests does anything
From: Bryan O'Sullivan <bos@serpentine.com>
On Mon, 2005-06-27 at 11:58 -0700, Bryan O'Sullivan wrote:
> I'm in en_us.UTF-8.
This discrepancy between my locale and Matt's broke several tests for
me, by the way. I think that the run-tests script should forcibly set
the locale to either "C" or "en_us.UTF-8" before it runs anything.
Since "C" is likely to be more portable, it's probably the right choice.
Here's the patch.
manifest hash: 1bf3291eafbde0cdeb1222bb72295c0e2974f236
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwOyVywK+sNU5EO8RAk18AJ4pYmvvJMZfFIR39NqvquXhhWPUTQCcDhhg
Ce12AHU8o+m/aFToyRaaQL8=
=5nRs
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Mon, 27 Jun 2005 22:22:13 -0800 |
parents | c5705ab9cebd |
children | 9bd468e36de3 e94cebc60d96 |
rev | line source |
---|---|
336 | 1 #!/bin/bash |
2 | |
3 mkdir test | |
4 cd test | |
5 echo foo>foo | |
6 hg init | |
7 hg addremove | |
8 hg commit -t "1" | |
9 hg verify | |
382
37249c522770
test suite: fix timezone problems and port collision problem
mpm@selenic.com
parents:
350
diff
changeset
|
10 hg serve -p 20059 2>/dev/null & |
336 | 11 cd .. |
12 | |
485 | 13 hg clone http://localhost:20059/ copy |
336 | 14 cd copy |
15 hg verify | |
16 hg co | |
17 cat foo | |
18 hg manifest | |
19 | |
392 | 20 kill %hg |