summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-25 21:32:13 +0200
committerVolker Lendecke <vl@samba.org>2010-07-25 22:29:44 +0200
commit334d5bfe30188a42af758db3f6a3551dd074900a (patch)
tree732f68b88290e5bb756e148767a366ddc4cd6b46 /source3/torture
parent5380f67730154d872ad21a3d9908cfc2bb91edbd (diff)
downloadsamba-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.c11
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;
}