summaryrefslogtreecommitdiff
path: root/lib/torture/torture.c
Commit message (Collapse)AuthorAgeFilesLines
* dlist: remove unneeded type argument from DLIST_ADD_END()Michael Adam2016-02-061-7/+7
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* torture: NULL out after talloc_freeGarming Sam2014-12-301-0/+1
| | | | | | | | | | This appeared as a segmentation fault in rpc.spoolss.printer. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Dec 30 02:49:01 CET 2014 on sn-devel-104
* torture: fix whitespace/tab mixup in internal_torture_run_test()Michael Adam2014-09-081-22/+22
| | | | | | | | | | No diff visible with "git show|diff -w". Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Mon Sep 8 04:21:52 CEST 2014 on sn-devel-104
* libtorture: Improve suggestion to mention torture_assert_*() rather thanJelmer Vernooij2012-05-031-1/+1
| | | | torture_result().
* torture: Suggest torture_fail() / torture_result().Jelmer Vernooij2012-05-031-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu May 3 15:31:06 CEST 2012 on sn-devel-104
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-201-2/+2
| | | | | | | | | | | | The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
* s4:smbtorture do not leave output directory aroundChristian Ambach2011-02-211-0/+1
| | | | | | | | | | | | | | | | | | | calling smbtorture with no or invalid arguments left the temporary output directory around this patches removes the dead-end exit from usage and makes the logic go on until the final cleanup state is reached output directory will still be left around when test times out or testcases itself force an exit also make sure that the directory itself is deleted, not just the objects in it Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Feb 21 11:35:30 CET 2011 on sn-devel-104
* s4-torture: not having an output dir is not a fatal errorAndrew Tridgell2011-02-101-1/+3
| | | | | | | just return NT_STATUS_OK, as nothing to cleanup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-torture: fixed uninitialised variable errorAndrew Tridgell2010-10-131-1/+1
| | | | ret is uninitialised if the directory is empty
* torture: Add debug on what we are removingMatthieu Patou2010-10-111-0/+1
|
* lib/torture: Add function to clean up the output directoryAndrew Bartlett2010-10-111-1/+65
| | | | | | | | | 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>
* torture: Remove unused variable.Jelmer Vernooij2010-09-231-1/+0
|
* smbtorture: Report times.Jelmer Vernooij2010-09-221-3/+7
|
* torture: Remove active_testname variable.Jelmer Vernooij2010-09-211-20/+0
|
* torture: Fix running individual tests.Jelmer Vernooij2010-09-211-26/+60
|
* subunit.pm: Pass through milliseconds in time reports.Jelmer Vernooij2010-09-141-2/+1
|
* smbtorture: Emit correct test results if setup fails.James Peach2010-08-171-15/+31
| | | | | | If the test setup fails, we still need to format the test result for the UI. At leas in the subunit case, the format doesn't specify what to do here, so we fail every test manually with the setup failure message.
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-5/+5
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* smbtorture: Move interactive shell into a separate file.James Peach2010-06-211-1/+1
|
* torture: Simplify torture suite running, call restricted test suite runner.Jelmer Vernooij2010-04-101-0/+7
|
* smbtorture: Report number of available tests in a testsuite using subunit.Jelmer Vernooij2010-03-311-0/+21
|
* s4/torture: add a new ulong parameteric torture optionAravind Srinivasan2009-11-171-0/+8
|
* Remove unused parameter setting.Jelmer Vernooij2009-07-191-8/+0
|
* s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger2009-06-181-0/+2
| | | | | | | | This corrects the issues reaised in bug #6129, and some others that were not originally identified. It also accounts for some code that was in the original bug report but appears to have since been made common between S3 and S4. Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* s3/s4 build: Fix "might be unitialized" warningTim Prouty2008-11-201-1/+1
|
* Explicitly include samba4 includes.h to fix the build.Jelmer Vernooij2008-11-181-1/+1
|
* Move torture directory to top-level.Jelmer Vernooij2008-11-161-2/+2
|
* Move libtorture to top-level.Jelmer Vernooij2008-11-161-0/+627