From 5b70d850479f026267d8e7f842d4ad452a04638f Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Wed, 9 Apr 2003 05:31:39 +0000 Subject: Set character set to default (UTF-8) before running tests. (This used to be commit b20d8b49701b532d4770197c5d08fa092234bf8e) --- source3/torture/t_strcmp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3') 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", -- cgit