diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-03-31 16:31:43 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-03-31 16:31:43 +0000 |
commit | 3c29e1e0f269a8cace3c5aa06ee6b37d5d6a82c8 (patch) | |
tree | 8ad8ace3728b1be16ff2986ea555f1b27b75bcb9 /regress/usr.bin/sort | |
parent | 38e4dfdfe8f2a635f9087712cdedbf7c317a936f (diff) |
Make sure locale is set to C or some tests that use 8-bit characters
may fail.
Diffstat (limited to 'regress/usr.bin/sort')
-rw-r--r-- | regress/usr.bin/sort/stests | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/regress/usr.bin/sort/stests b/regress/usr.bin/sort/stests index fa56258c386..a574735c85c 100644 --- a/regress/usr.bin/sort/stests +++ b/regress/usr.bin/sort/stests @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: stests,v 1.11 2015/03/31 14:53:00 millert Exp $ +# $OpenBSD: stests,v 1.12 2015/03/31 16:31:42 millert Exp $ # from: @(#)stests 8.1 (Berkeley) 6/6/93 #Latest version. My sort passes all tests because I wrote it. @@ -18,11 +18,15 @@ export SORTPROG # Tests for the Unix sort utility -# Test Posix features except for locale. +# Test POSIX features except for locale. # Test some nonstandard features if present. # Other tests should be made for files too big to fit in memory. +# Currently we only test the C locale +LANG=C +LC_ALL=C +export LANG LC_ALL # Initialize switches for nonstandard features. # Use parenthesized settings for supported features. |