mirror of
https://github.com/samba-team/samba.git
synced 2025-09-11 09:44:19 +03:00
libsmbconf: testsuite: fix handling of error message/overall status
Michael
This commit is contained in:
@@ -140,9 +140,7 @@ static bool torture_smbconf_txt(void)
|
|||||||
|
|
||||||
smbconf_shutdown(conf_ctx);
|
smbconf_shutdown(conf_ctx);
|
||||||
|
|
||||||
ret = true;
|
printf("%s: text backend\n", ret ? "success" : "failure");
|
||||||
|
|
||||||
printf("success: text backend\n");
|
|
||||||
|
|
||||||
done:
|
done:
|
||||||
TALLOC_FREE(mem_ctx);
|
TALLOC_FREE(mem_ctx);
|
||||||
@@ -172,9 +170,7 @@ static bool torture_smbconf_reg(void)
|
|||||||
|
|
||||||
smbconf_shutdown(conf_ctx);
|
smbconf_shutdown(conf_ctx);
|
||||||
|
|
||||||
ret = true;
|
printf("%s: registry backend\n", ret ? "success" : "failure");
|
||||||
|
|
||||||
printf("success: registry backend\n");
|
|
||||||
|
|
||||||
done:
|
done:
|
||||||
TALLOC_FREE(mem_ctx);
|
TALLOC_FREE(mem_ctx);
|
||||||
|
Reference in New Issue
Block a user