diff options
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 9 |
1 files changed, 9 insertions, 0 deletions
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); |