summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-14 00:40:21 +0100
committerVolker Lendecke <vl@samba.org>2009-11-14 11:03:28 +0100
commitf668e4104f5fc5e3c0a48502e30163b1ffc777ae (patch)
treeb06b050eebd7aa051d068da55b66bfc48f038d3c /source3/torture
parentf38edcd61a556815db2ecfaa265a46e859e980f6 (diff)
downloadsamba-f668e4104f5fc5e3c0a48502e30163b1ffc777ae.tar.gz
samba-f668e4104f5fc5e3c0a48502e30163b1ffc777ae.tar.bz2
samba-f668e4104f5fc5e3c0a48502e30163b1ffc777ae.zip
s3: Convert cli_set_unix_extensions_capabilities_send to async
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 9abcabde89..840dc94256 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -4392,9 +4392,11 @@ static bool run_simple_posix_open_test(int dummy)
return false;
}
- if (!cli_set_unix_extensions_capabilities(cli1,
- major, minor, caplow, caphigh)) {
- printf("Server doesn't support setting UNIX CIFS extensions.\n");
+ status = cli_set_unix_extensions_capabilities(cli1, major, minor,
+ caplow, caphigh);
+ if (!NT_STATUS_IS_OK(status)) {
+ printf("Server doesn't support setting UNIX CIFS extensions: "
+ "%s.\n", nt_errstr(status));
return false;
}