Author: jra Date: 2007-05-23 23:14:48 +0000 (Wed, 23 May 2007) New Revision: 23104
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23104 Log: Add comment explaining the new test. Jeremy. Modified: branches/SAMBA_4_0/source/torture/basic/delete.c Changeset: Modified: branches/SAMBA_4_0/source/torture/basic/delete.c =================================================================== --- branches/SAMBA_4_0/source/torture/basic/delete.c 2007-05-23 23:11:16 UTC (rev 23103) +++ branches/SAMBA_4_0/source/torture/basic/delete.c 2007-05-23 23:14:48 UTC (rev 23104) @@ -1258,6 +1258,12 @@ } /* Test 20b ... */ +/* This is the delete semantics that the cifsfs client depends on when + * trying to delete an open file on a Windows server. It + * opens a file with initial delete on close set, renames it then closes + * all open handles. The file goes away on Windows. + */ + static bool deltest20b(struct torture_context *tctx, struct smbcli_state *cli1, struct smbcli_state *cli2) { int fnum1 = -1; @@ -1266,7 +1272,7 @@ del_clean_area(cli1, cli2); - /* Test 20a. */ + /* Test 20b. */ /* Ensure the file doesn't already exist. */ smbcli_close(cli1->tree, fnum1);