Günther Deschner
fe84f8bab3
s4-torture: add new torture_assert_krb5_error_equal macro.
...
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2016-07-23 06:04:11 +02:00
Günther Deschner
cde8ed20e0
torture: show the first differing byte and a dump in torture_assert_data_blob_equal().
...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2016-07-20 21:27:17 +02:00
Günther Deschner
c5c3f91c6f
lib/torture: add torture_assert_u64_not_equal_goto macro
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-03-22 00:23:21 +01:00
Günther Deschner
04e1f2ea90
lib/torture: add torture_assert_hresult_{equal,ok} macros.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2015-07-31 01:55:28 +02:00
Günther Deschner
e3cb9f721d
lib/torture: be more verbose about ndr failures.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2015-07-03 02:00:27 +02:00
Günther Deschner
6aeb0a08ab
s4-torture: move torture_assert_sid_equal() out of ndr headers.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2015-07-03 02:00:27 +02:00
Michael Adam
4de622b6b1
torture: add torture_assert_not_null[_goto]
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2015-03-30 13:41:26 +02:00
Michael Adam
bc858fda42
torture: add torture_assert_int_not_equal_goto
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2015-03-30 13:41:25 +02:00
Michael Adam
23cd60f0a3
torture: add torture_assert_u64_not_equal()
...
Signed-off-by: Michael Adam <obnox@samba.org>
2014-10-03 08:34:05 +02:00
Michael Adam
fae589be2a
torture: add torture_assert_int_not_equal
...
Signed-off-by: Michael Adam <obnox@samba.org>
2014-10-03 08:34:05 +02:00
Gregor Beck
160ca49953
libtorture: factor out simple ui backend
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-21 16:26:39 +02:00
Günther Deschner
663c2b4f16
torture: add torture_assert_guid_equal() macro.
...
Guenther
2011-11-03 18:35:09 +01:00
Günther Deschner
2e2cb8d96d
s4-smbtorture: add torture_assert_nttime_equal macro.
...
Guenther
2010-12-22 13:33:17 +01:00
Günther Deschner
28d618ddf0
s4-smbtorture: add torture_assert_strn_equal macro.
...
Guenther
2010-12-17 11:33:05 +01:00
Stefan Metzmacher
929063bb12
lib/torture: add torture_assert_u64_equal_goto()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Dec 4 12:55:44 CET 2010 on sn-devel-104
2010-12-04 12:55:44 +01:00
Andrew Bartlett
74ed86c4e3
lib/torture: Add function to clean up the output directory
...
This helps to avoid leaving 85MB of provision around for every
NET-API-BECOME-DC test.
Andrew Bartlett
Signed-off-by: Matthieu Patou <mat@matws.net>
2010-10-11 13:46:21 +00:00
Jelmer Vernooij
136aa0d5ac
smbtorture: Report times.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
0aff42a6e4
torture: Remove active_testname variable.
2010-09-21 22:54:34 -07:00
Jelmer Vernooij
e456c69498
torture: Fix running individual tests.
2010-09-21 22:54:34 -07:00
James Peach
9f69790355
smbtorture: Move interactive shell into a separate file.
2010-06-21 08:58:10 -07:00
Jelmer Vernooij
4fb98b6856
torture: Simplify torture suite running, call restricted test suite runner.
2010-04-10 22:38:32 +02:00
Stefan Metzmacher
800c735de6
lib/torture: also print intergers as HEX values in the torture_assert macros
...
metze
2010-04-09 16:28:29 +02:00
Kamen Mazdrashki
ae30cb958e
torture: add torture_assert_goto() convenience macro
2010-04-09 12:21:26 +03:00
Jelmer Vernooij
31094b0e8c
smbtorture: Report number of available tests in a testsuite using subunit.
2010-03-31 02:57:47 +02:00
Andrew Tridgell
e73b790c04
fixed the build
...
whoever pushed 15d93a5d8e
, please check
that what you push compiles and passes tests. In this case it didn't
compile.
2009-11-18 12:46:45 +11:00
Steven Danneman
5975ea793a
s4/torture: add new torture_assert_*_todo() macros
...
These allow torture tests to perform cleanup after a failure, by
jumping to a goto label.
2009-09-08 13:43:06 -07:00
Jelmer Vernooij
54670bb400
Remove unused parameter setting.
2009-07-19 18:58:22 +02:00
Günther Deschner
68bb2d2e80
torture: minor fixes to torture macro text output.
...
Guenther
2009-06-02 13:12:09 +02:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Andrew Bartlett
3d0a3c1078
Add helpful function for comparison of DATA_BLOB elements
2008-11-17 10:12:13 +11:00
Jelmer Vernooij
8beecd42f2
Move torture directory to top-level.
2008-11-16 00:58:08 +01:00
Jelmer Vernooij
badfac4412
Move libtorture to top-level.
2008-11-16 00:55:35 +01:00