From 37e4e387db869600b68d28d4d7b5290fe8b110ae Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 21 Nov 2009 13:46:52 +0100 Subject: s3: Convert cli_get_fs_attr_info to the async API --- source3/torture/torture.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/torture') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 840dc94256..bf89ca35b1 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -2827,6 +2827,8 @@ static bool run_trans2test(int dummy) const char *fname2 = "\\trans2\\trans2.tst"; char pname[1024]; bool correct = True; + NTSTATUS status; + uint32_t fs_attr; printf("starting trans2 test\n"); @@ -2834,6 +2836,13 @@ static bool run_trans2test(int dummy) return False; } + status = cli_get_fs_attr_info(cli, &fs_attr); + if (!NT_STATUS_IS_OK(status)) { + printf("ERROR: cli_get_fs_attr_info returned %s\n", + nt_errstr(status)); + correct = false; + } + cli_unlink(cli, fname, aSYSTEM | aHIDDEN); cli_open(cli, fname, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE, &fnum); -- cgit