summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-04-09 05:31:39 +0000
committerMartin Pool <mbp@samba.org>2003-04-09 05:31:39 +0000
commit5b70d850479f026267d8e7f842d4ad452a04638f (patch)
tree3e5292167f391425c6ead03c781b0c6f55353de8 /source3/torture
parent80cd7c552ff95b3aa4caf79768af5b1e5c07c506 (diff)
downloadsamba-5b70d850479f026267d8e7f842d4ad452a04638f.tar.gz
samba-5b70d850479f026267d8e7f842d4ad452a04638f.tar.bz2
samba-5b70d850479f026267d8e7f842d4ad452a04638f.zip
Set character set to default (UTF-8) before running tests.
(This used to be commit b20d8b49701b532d4770197c5d08fa092234bf8e)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/t_strcmp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/torture/t_strcmp.c b/source3/torture/t_strcmp.c
index 47327a0e06..bc8640ee55 100644
--- a/source3/torture/t_strcmp.c
+++ b/source3/torture/t_strcmp.c
@@ -11,6 +11,9 @@ int main(int argc, char *argv[])
int i, ret;
int iters = 1;
+ /* Needed to initialize character set */
+ lp_load("/dev/null", True, False, False);
+
if (argc < 3) {
fprintf(stderr, "usage: %s STRING1 STRING2 [ITERS]\n"
"Compares two strings, prints the results of StrCaseCmp\n",