Stefan Metzmacher
27efeabab4
s4:torture/raw/context: pass tctx to test_pid_exit_only_sees_open()
...
metze
2012-05-08 02:57:07 +02:00
Stefan Metzmacher
c68cba36aa
s4:torture/raw/session: make sure we got a reauth of the existing session
...
metze
2012-05-08 00:50:55 +02:00
Volker Lendecke
eb6e22bcab
s4:torture: add a check for talloc success in test_session_reauth
...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Fri May 4 16:50:59 CEST 2012 on sn-devel-104
2012-05-04 16:50:58 +02:00
Andrew Bartlett
645e4bb436
s4-torture: convert samba3misc tests to use torture_failure and torture_assert
...
This helps us when these tests fail, as subunit-formatted failures can
be declared as knownfail entries, and show up correctly in the make
test output.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Apr 30 08:34:52 CEST 2012 on sn-devel-104
2012-04-30 08:34:51 +02:00
Andrew Bartlett
6b982c365c
s4-torture: move samba3 tests to use torture helper functions
2012-04-30 07:00:05 +02:00
Andrew Bartlett
7e9ed05277
s4-torture: Move various samba3 tests to the torture_suite_add_1smb_test wrapper
2012-04-30 07:00:05 +02:00
Andrew Bartlett
ed9f903b12
s4-torture: never return false in the raw.composite torture test
...
We must use torture_assert() macros to ensure that the failure is
recorded in the subunit stream correctly, rather than being returned
as an unknown 'error'. (We cannot handle error results as knownfail).
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 26 04:00:16 CEST 2012 on sn-devel-104
2012-04-26 04:00:16 +02:00
Gregor Beck
e563e5a2be
s4:torture: add a raw.session suite with a raw.session.reauth test
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-04-25 23:15:40 +02:00
Andrew Bartlett
e346bba1fc
s4-torture: enable raw.composite test again, and convert to new style test
...
This test has been skipped for some time, but is an important test for parallel operation.
Andrew Bartlett
2012-04-25 17:43:23 +10:00
Jeremy Allison
916297e045
Fix samba3.raw.samba3hide test - ensure we set up POSIX capabilities
...
before doing POSIX calls like chmod.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Apr 18 23:14:40 CEST 2012 on sn-devel-104
2012-04-18 23:14:40 +02:00
Volker Lendecke
b0aaa49e3f
s4-torture: Fix the raw.notify mask test
...
When we do the notify triggers via a different client connection, adding the
notify record becomes subject to a race. Add a dummy operation after the
initial changenotify request was sent to make sure the notify record actually
arrived.
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Apr 18 19:47:53 CEST 2012 on sn-devel-104
2012-04-18 19:47:53 +02:00
Volker Lendecke
03291270a6
s4-torture: Use 2 client connections for raw.notify.mask
...
This makes the test more interesting in a cluster
2012-04-18 18:16:28 +02:00
Volker Lendecke
5607f91796
s4-torture: Use 2 client connections for raw.notify.tree
...
This makes the test more interesting in a cluster
2012-04-18 18:16:27 +02:00
Volker Lendecke
1bb7d25176
s4-torture: Use 2 client connections for raw.notify.recursive
...
This makes the test more interesting in a cluster
2012-04-18 18:16:27 +02:00
Volker Lendecke
26b9ab2780
s4-torture: notify all is empty now
...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Apr 18 15:16:13 CEST 2012 on sn-devel-104
2012-04-18 15:16:12 +02:00
Volker Lendecke
bd3ceb8792
s4-torture: Separate out the notify alignment subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
6b445cdfc6
s4-torture: Separate out the notify basedir subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
98f8f4236c
s4-torture: Separate out the notify overflow subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
a7cff2b72e
s4-torture: Separate out the notify tree subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
d1a898a76b
s4-torture: Separate out the notify double subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
c180cd0468
s4-torture: Separate out the notify tcp_dis subtest
2012-04-18 13:42:14 +02:00
Volker Lendecke
e5181d0460
s4-torture: Separate out the notify ulogoff subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
07def3221e
s4-torture: Separate out the notify exit subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
f864b93b31
s4-torture: Separate out the notify tdis subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
b570668f55
s4-torture: Separate out the notify file subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
6f6192b998
s4-torture: Separate out the notify mask_change subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
5429593eed
s4-torture: Separate out the notify recursive subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
87e2a549e9
s4-torture: Separate out the notify mask subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
74f134df72
s4-torture: Separate out the notify dir subtest
2012-04-18 13:42:13 +02:00
Volker Lendecke
13666857f2
s4-torture: Separate out the notify tcon subtest
2012-04-18 13:42:12 +02:00
Volker Lendecke
8e41c2f81c
s4-torture: Make notify a suite
2012-04-18 13:42:12 +02:00
Stefan Metzmacher
4afbda221c
s4:libcli/raw: implement on top of smbXcli_conn/req
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
2011-11-30 15:13:36 +01:00
Stefan Metzmacher
511dc9358d
s4:torture: use tctx->ev as event context for polling
...
metze
2011-11-29 16:00:08 +01:00
Jeremy Allison
3e6e1aed94
Fix a bunch of "warning: variable ‘XXXX’ set but not used [-Wunused-but-set-variable]" warnings from the new gcc.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Nov 21 23:39:08 CET 2011 on sn-devel-104
2011-11-21 23:39:08 +01:00
David Disseldorp
281fc93c6b
libcli: move ioctl function field defs to smb_constants
...
Currently there are a lot of duplicate ioctl function field definitions
between source3 and source4.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-19 15:44:29 +02:00
Simo Sorce
b120c5f288
torture: use tevent_ functions names instead of the legacy event_ ones
2011-08-13 09:54:15 -04:00
Gregor Beck
de10847973
s4:torture: fix SEGFAULT in raw.acl.dynamic
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30 17:42:27 +02:00
Matthias Dieter Wallnöfer
5c4fabb08e
s4:torture - always cast correctly when using the "%x" format string argument
...
Signed-off-by: Metze
2011-05-21 16:21:12 +02:00
Jeremy Allison
1c714850d5
Clean up some const and other compiler warnings.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
2011-05-05 00:59:40 +02:00
Jelmer Vernooij
6dfd88ab0a
source4/torture/raw: Fix prototypes for all functions.
2011-03-19 03:20:04 +01:00
Günther Deschner
40398acf75
s4-smbtorture: use torture_assert_ and comment functions in raw.eas test.
...
Guenther
2011-03-18 01:24:06 +01:00
Günther Deschner
4a48c9d4ac
s4-smbtorture: use torture_context in raw.eas test.
...
Guenther
2011-03-18 01:24:06 +01:00
Günther Deschner
ac851935e2
s4-smbtorture: remove trailing whitespace from raw.eas test.
...
Guenther
2011-03-18 01:24:06 +01:00
Günther Deschner
717beda638
s4-smbtorture: more torture_fail usage in raw.write test.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Mar 17 13:10:14 CET 2011 on sn-devel-104
2011-03-17 13:10:14 +01:00
Günther Deschner
8775aee036
s4-smbtorture: use torture_fail and _skip in raw.write test.
...
Guenther
2011-03-16 14:52:51 +01:00
Günther Deschner
1b055fa6c6
s4-smbtorture: remove duplicate if branch in raw.write test.
...
Guenther
2011-03-16 14:51:30 +01:00
Günther Deschner
227c00d8bd
s4-smbtorture: use torture_fail/-assert api in torture_samba3_hide().
...
Guenther
2011-03-16 14:04:09 +01:00
Günther Deschner
fb45c88904
s4-smbtorture: use torture_comment() instead of printf in raw.write test.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 21 15:26:38 CET 2011 on sn-devel-104
2011-02-21 15:26:38 +01:00
Günther Deschner
138533da3c
s4-smbtorture: fix some indent in raw.write test.
...
Guenther
2011-02-21 14:42:22 +01:00
Günther Deschner
e1f4f0b605
s4-smbtorture: fix trailing whitespace in raw.write test.
...
Guenther
2011-02-21 14:42:22 +01:00