mirror of
https://github.com/samba-team/samba.git
synced 2025-11-06 08:23:50 +03:00
libsmbconf: testsuite: fix handling of error message/overall status
Michael
(This used to be commit c2d3d56d62)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user