summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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",