mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
libsmbconf: testsuite: fix handling of error message/overall status
Michael
This commit is contained in:
parent
1f64a1b2b4
commit
c2d3d56d62
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user