summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-24 12:55:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:26 -0500
commit2641612a49ceae26b5caf5389bdf03e11623bd8e (patch)
tree7ec5d3b26b98a42722c5d773ccecc6202f877254 /source4/torture
parent2a16fd5453a47bc456ae831c0eab58a102d96bd8 (diff)
downloadsamba-2641612a49ceae26b5caf5389bdf03e11623bd8e.tar.gz
samba-2641612a49ceae26b5caf5389bdf03e11623bd8e.tar.bz2
samba-2641612a49ceae26b5caf5389bdf03e11623bd8e.zip
r3155: reformat a delete test
(This used to be commit 739c9e401cfbe04f2596e5b4b178243263218c04)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/basic/delete.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/torture/basic/delete.c b/source4/torture/basic/delete.c
index 552da56420..225a73736e 100644
--- a/source4/torture/basic/delete.c
+++ b/source4/torture/basic/delete.c
@@ -515,9 +515,11 @@ BOOL torture_test_delete(int dummy)
smbcli_setatr(cli1->tree, fname, 0, 0);
smbcli_unlink(cli1->tree, fname);
- fnum1 = smbcli_nt_create_full(cli1->tree, fname, 0, GENERIC_RIGHTS_FILE_ALL_ACCESS,
- FILE_ATTRIBUTE_READONLY, NTCREATEX_SHARE_ACCESS_NONE,
- NTCREATEX_DISP_OVERWRITE_IF, 0, 0);
+ fnum1 = smbcli_nt_create_full(cli1->tree, fname, 0,
+ GENERIC_RIGHTS_FILE_ALL_ACCESS,
+ FILE_ATTRIBUTE_READONLY,
+ NTCREATEX_SHARE_ACCESS_NONE,
+ NTCREATEX_DISP_OVERWRITE_IF, 0, 0);
if (fnum1 == -1) {
printf("(%s) open of %s failed (%s)\n",