summaryrefslogtreecommitdiff
path: root/source3/torture/scanner.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/scanner.c')
-rw-r--r--source3/torture/scanner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/scanner.c b/source3/torture/scanner.c
index 21b32dcf23e..3e9a24f121e 100644
--- a/source3/torture/scanner.c
+++ b/source3/torture/scanner.c
@@ -170,7 +170,7 @@ static bool scan_trans2(struct cli_state *cli, int op, int level,
status = try_trans2_len(cli, "newfile", op, level, param, data, param_len, &data_len,
&rparam_len, &rdata_len);
- cli_unlink(cli, "\\newfile.dat");
+ cli_unlink(cli, "\\newfile.dat", aSYSTEM | aHIDDEN);
cli_rmdir(cli, "\\newfile.dat");
if (NT_STATUS_IS_OK(status)) return True;
@@ -372,7 +372,7 @@ static bool scan_nttrans(struct cli_state *cli, int op, int level,
status = try_nttrans_len(cli, "newfile", op, level, param, data, param_len, &data_len,
&rparam_len, &rdata_len);
- cli_unlink(cli, "\\newfile.dat");
+ cli_unlink(cli, "\\newfile.dat", aSYSTEM | aHIDDEN);
cli_rmdir(cli, "\\newfile.dat");
if (NT_STATUS_IS_OK(status)) return True;