diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-25 21:32:13 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-25 22:29:44 +0200 |
commit | 334d5bfe30188a42af758db3f6a3551dd074900a (patch) | |
tree | 732f68b88290e5bb756e148767a366ddc4cd6b46 /source3/torture | |
parent | 5380f67730154d872ad21a3d9908cfc2bb91edbd (diff) | |
download | samba-334d5bfe30188a42af758db3f6a3551dd074900a.tar.gz samba-334d5bfe30188a42af758db3f6a3551dd074900a.tar.bz2 samba-334d5bfe30188a42af758db3f6a3551dd074900a.zip |
s3: Convert cli_get_ea_list_path to cli_qpathinfo_send
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index be9cfccf98..f958817320 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -5009,6 +5009,7 @@ static bool run_eatest(int dummy) size_t num_eas; struct ea_struct *ea_list = NULL; TALLOC_CTX *mem_ctx = talloc_init("eatest"); + NTSTATUS status; printf("starting eatest\n"); @@ -5052,8 +5053,9 @@ static bool run_eatest(int dummy) } } - if (!cli_get_ea_list_path(cli, fname, mem_ctx, &num_eas, &ea_list)) { - printf("ea_get list failed - %s\n", cli_errstr(cli)); + status = cli_get_ea_list_path(cli, fname, mem_ctx, &num_eas, &ea_list); + if (!NT_STATUS_IS_OK(status)) { + printf("ea_get list failed - %s\n", nt_errstr(status)); correct = False; } @@ -5087,8 +5089,9 @@ static bool run_eatest(int dummy) } #endif - if (!cli_get_ea_list_path(cli, fname, mem_ctx, &num_eas, &ea_list)) { - printf("ea_get list failed - %s\n", cli_errstr(cli)); + status = cli_get_ea_list_path(cli, fname, mem_ctx, &num_eas, &ea_list); + if (!NT_STATUS_IS_OK(status)) { + printf("ea_get list failed - %s\n", nt_errstr(status)); correct = False; } |