r16657: Test Jerry's iTunes bug, along with some more error conditions
[kai/samba.git] / source / torture / raw / raw.c
1 /* 
2    Unix SMB/CIFS implementation.
3    SMB torture tester
4    Copyright (C) Jelmer Vernooij 2006
5    
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 2 of the License, or
9    (at your option) any later version.
10    
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15    
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */
20
21 #include "includes.h"
22 #include "torture/torture.h"
23 #include "libcli/raw/libcliraw.h"
24 #include "torture/raw/proto.h"
25
26 NTSTATUS torture_raw_init(void)
27 {
28         /* RAW smb tests */
29
30         register_torture_op("BENCH-OPLOCK",   torture_bench_oplock);
31         register_torture_op("RAW-QFSINFO", torture_raw_qfsinfo);
32         register_torture_op("RAW-QFILEINFO", torture_raw_qfileinfo);
33         register_torture_op("RAW-SFILEINFO", torture_raw_sfileinfo);
34         register_torture_op("RAW-SFILEINFO-BUG", torture_raw_sfileinfo_bug);
35         register_torture_op("RAW-SEARCH", torture_raw_search);
36         register_torture_op("RAW-CLOSE", torture_raw_close);
37         register_torture_op("RAW-OPEN", torture_raw_open);
38         register_torture_op("RAW-MKDIR", torture_raw_mkdir);
39         register_torture_op("RAW-OPLOCK", torture_raw_oplock);
40         register_torture_op("RAW-NOTIFY", torture_raw_notify);
41         register_torture_op("RAW-MUX", torture_raw_mux);
42         register_torture_op("RAW-IOCTL", torture_raw_ioctl);
43         register_torture_op("RAW-CHKPATH", torture_raw_chkpath);
44         register_torture_op("RAW-UNLINK", torture_raw_unlink);
45         register_torture_op("RAW-READ", torture_raw_read);
46         register_torture_op("RAW-WRITE", torture_raw_write);
47         register_torture_op("RAW-LOCK", torture_raw_lock);
48         register_torture_op("RAW-CONTEXT", torture_raw_context);
49         register_torture_op("RAW-RENAME", torture_raw_rename);
50         register_torture_op("RAW-SEEK", torture_raw_seek);
51         register_torture_op("RAW-EAS", torture_raw_eas);
52         register_torture_op("RAW-STREAMS", torture_raw_streams);
53         register_torture_op("RAW-ACLS", torture_raw_acls);
54         register_torture_op("RAW-COMPOSITE", torture_raw_composite);
55         register_torture_op("RAW-SAMBA3HIDE", torture_samba3_hide);
56         register_torture_op("RAW-SAMBA3CHECKFSP", torture_samba3_checkfsp);
57         register_torture_op("SCAN-EAMAX", torture_max_eas);
58
59         return NT_STATUS_OK;
60 }