summaryrefslogtreecommitdiff
path: root/lib/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-21s4:smbtorture do not leave output directory aroundChristian Ambach1-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
2011-02-10s4-torture: not having an output dir is not a fatal errorAndrew Tridgell1-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>
2010-10-13s4-torture: fixed uninitialised variable errorAndrew Tridgell1-1/+1
ret is uninitialised if the directory is empty
2010-10-11torture: Add debug on what we are removingMatthieu Patou1-0/+1
2010-10-11lib/torture: Add function to clean up the output directoryAndrew Bartlett1-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>
2010-09-23torture: Remove unused variable.Jelmer Vernooij1-1/+0
2010-09-22smbtorture: Report times.Jelmer Vernooij1-3/+7
2010-09-21torture: Remove active_testname variable.Jelmer Vernooij1-20/+0
2010-09-21torture: Fix running individual tests.Jelmer Vernooij1-26/+60
2010-09-14subunit.pm: Pass through milliseconds in time reports.Jelmer Vernooij1-2/+1
2010-08-17smbtorture: Emit correct test results if setup fails.James Peach1-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.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-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>
2010-06-21smbtorture: Move interactive shell into a separate file.James Peach1-1/+1
2010-04-10torture: Simplify torture suite running, call restricted test suite runner.Jelmer Vernooij1-0/+7
2010-03-31smbtorture: Report number of available tests in a testsuite using subunit.Jelmer Vernooij1-0/+21
2009-11-17s4/torture: add a new ulong parameteric torture optionAravind Srinivasan1-0/+8
2009-07-19Remove unused parameter setting.Jelmer Vernooij1-8/+0
2009-06-18s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger1-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.
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-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
2008-11-20s3/s4 build: Fix "might be unitialized" warningTim Prouty1-1/+1
2008-11-18Explicitly include samba4 includes.h to fix the build.Jelmer Vernooij1-1/+1
2008-11-16Move torture directory to top-level.Jelmer Vernooij1-2/+2
2008-11-16Move libtorture to top-level.Jelmer Vernooij1-0/+627