another smbtorture bug

Herb Lewis hlewis at panasas.com
Thu Feb 11 22:15:41 UTC 2016


deltest16a also fails against win7 and win2k12 (in different ways)

win2k12 shows

smbtorture 4.3.3
Using seed 1455228811
time: 2016-02-11 14:13:31.367437
test: deltest16a
time: 2016-02-11 14:13:31.367572
WARNING!: ../source4/torture/basic/delete.c:66: Expression `expect_it == 
io.all_info.out.delete_pending' failed: 
../source4/torture/basic/delete.c:1011 - Expected del_on_close flag 0, 
qfileinfo/all_info gave 1
WARNING!: ../source4/torture/basic/delete.c:97: status was 
NT_STATUS_DELETE_PENDING, expected NT_STATUS_OK: qpathinfo failed 
(../source4/torture/basic/delete.c:1012)
time: 2016-02-11 14:13:31.397833
failure: deltest16a [
../source4/torture/basic/delete.c:1019: Expression `fnum1 != -1' failed: 
open of \delete.file failed (NT_STATUS_OBJECT_NAME_NOT_FOUND)
]

win7 shows

smbtorture 4.3.3
Using seed 1455228901
time: 2016-02-11 14:15:01.445074
test: deltest17a
time: 2016-02-11 14:15:01.445369
time: 2016-02-11 14:15:01.475934
failure: deltest17a [
../source4/torture/basic/delete.c:1190: Expression `fnum1 != -1' failed: 
open - 3 of \delete.file failed (NT_STATUS_OBJECT_NAME_NOT_FOUND)
]

On 02/11/2016 02:05 PM, Herb Lewis wrote:
> source4/torture/basic/delete.c function deltest17a
>
> Fails against both a win7 and a win2k12 server. It seems the test may
> be incorrect.
>
> The comments state
>
>         /*
>          * The file is still there:
>          * The second open seems to have removed the initial
>          * delete on close flag from the first handle
>          */
>
> however the file was deleted on close. Am I missing something here?
>




More information about the samba-technical mailing list