summaryrefslogtreecommitdiff
path: root/source4/torture/local/iconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/local/iconv.c')
-rw-r--r--source4/torture/local/iconv.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/torture/local/iconv.c b/source4/torture/local/iconv.c
index c42fa2ba0e..e9dc3e16f8 100644
--- a/source4/torture/local/iconv.c
+++ b/source4/torture/local/iconv.c
@@ -322,7 +322,9 @@ BOOL torture_local_iconv(void)
}
if (codepoint % 1000 == 0) {
- printf("codepoint=%u \r", codepoint);
+ if (!lp_parm_bool(-1, "torture", "progress", True)) {
+ printf("codepoint=%u \r", codepoint);
+ }
}
ok = test_buffer(inbuf, size, "UTF-8");
@@ -332,7 +334,9 @@ BOOL torture_local_iconv(void)
printf("Testing 5M random UTF-16LE sequences\n");
for (i=0;ok && i<500000;i++) {
if (i % 1000 == 0) {
- printf("i=%u \r", i);
+ if (!lp_parm_bool(-1, "torture", "progress", True)) {
+ printf("i=%u \r", i);
+ }
}
size = random() % 100;