summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/smbconf/testsuite.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/lib/smbconf/testsuite.c b/source3/lib/smbconf/testsuite.c
index b6220fbc32..2e833d9e26 100644
--- a/source3/lib/smbconf/testsuite.c
+++ b/source3/lib/smbconf/testsuite.c
@@ -140,9 +140,7 @@ static bool torture_smbconf_txt(void)
smbconf_shutdown(conf_ctx);
- ret = true;
-
- printf("success: text backend\n");
+ printf("%s: text backend\n", ret ? "success" : "failure");
done:
TALLOC_FREE(mem_ctx);
@@ -172,9 +170,7 @@ static bool torture_smbconf_reg(void)
smbconf_shutdown(conf_ctx);
- ret = true;
-
- printf("success: registry backend\n");
+ printf("%s: registry backend\n", ret ? "success" : "failure");
done:
TALLOC_FREE(mem_ctx);