Mercurial > hg
comparison tests/run-tests @ 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 | 5914e27dc717 |
children | a636f7d2cd5b |
comparison
equal
deleted
inserted
replaced
487:2ad41189bee5 | 488:77c66c4eec0e |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 set -e | 3 set -e |
4 | |
5 export LANG=C | |
6 export LC_CTYPE="C" | |
7 export LC_NUMERIC="C" | |
8 export LC_TIME="C" | |
9 export LC_COLLATE="C" | |
10 export LC_MONETARY="C" | |
11 export LC_MESSAGES="C" | |
12 export LC_PAPER="C" | |
13 export LC_NAME="C" | |
14 export LC_ADDRESS="C" | |
15 export LC_TELEPHONE="C" | |
16 export LC_MEASUREMENT="C" | |
17 export LC_IDENTIFICATION="C" | |
18 export LC_ALL="" | |
4 | 19 |
5 tests=0 | 20 tests=0 |
6 failed=0 | 21 failed=0 |
7 H=$PWD | 22 H=$PWD |
8 | 23 |