summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-08 18:00:27 +0200
committerMichael Adam <obnox@samba.org>2008-04-10 01:28:59 +0200
commit40c60b0917d1efb7976b7d0faac228378668bcc6 (patch)
treec5d101ad682cf95557a40e80921679b288c49a06 /source3/lib
parent70bb9a919b4a46b70b62733592090d704ab55785 (diff)
downloadsamba-40c60b0917d1efb7976b7d0faac228378668bcc6.tar.gz
samba-40c60b0917d1efb7976b7d0faac228378668bcc6.tar.bz2
samba-40c60b0917d1efb7976b7d0faac228378668bcc6.zip
libsmbconf: testsuite: fix handling of error message/overall status
Michael (This used to be commit c2d3d56d628f266fdfc0ca98fc199afc01670c2c)
Diffstat (limited to 'source3/lib')
-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);