summaryrefslogtreecommitdiff
path: root/lib/torture
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-12-22s4-smbtorture: add torture_assert_nttime_equal macro.Günther Deschner1-1/+7
Guenther
2010-12-17s4-smbtorture: add torture_assert_strn_equal macro.Günther Deschner1-0/+10
Guenther
2010-12-08s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell1-1/+1
this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
2010-12-04lib/torture: add torture_assert_u64_equal_goto()Stefan Metzmacher1-0/+13
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Dec 4 12:55:44 CET 2010 on sn-devel-104
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-17/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij1-1/+1
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij1-1/+1
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-1/+1
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 Bartlett2-1/+66
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-23lib-subunit: fixed build on systems without subunit devel libraryAndrew Tridgell1-4/+2
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-22smbtorture: Report times.Jelmer Vernooij3-5/+39
2010-09-22torture: Use system subunit library if available.Jelmer Vernooij1-1/+0
2010-09-22smbtorture: Use subunit C library.Jelmer Vernooij2-28/+27
2010-09-21torture: Remove active_testname variable.Jelmer Vernooij2-22/+1
2010-09-21torture: Fix running individual tests.Jelmer Vernooij3-28/+70
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 Peach2-2/+2
2010-04-10torture: Simplify torture suite running, call restricted test suite runner.Jelmer Vernooij2-0/+12
2010-04-09lib/torture: also print intergers as HEX values in the torture_assert macrosStefan Metzmacher1-6/+8
metze
2010-04-09torture: add torture_assert_goto() convenience macroKamen Mazdrashki1-0/+7
2010-04-06s4-waf: removed the AUTOGENERATED markersAndrew Tridgell1-3/+0
we won't be using the mk -> wscript generator again
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06s4-waf: enable the pc_files in the build rulesAndrew Tridgell1-1/+1
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+12
2010-03-31smbtorture: Report number of available tests in a testsuite using subunit.Jelmer Vernooij3-1/+53
2009-11-18fixed the buildAndrew Tridgell1-0/+4
whoever pushed 15d93a5d8e21893e1cca5c989dbf97010aae1622, please check that what you push compiles and passes tests. In this case it didn't compile.
2009-11-17s4/torture: add a new ulong parameteric torture optionAravind Srinivasan1-0/+8
2009-09-08s4/torture: add new torture_assert_*_todo() macrosSteven Danneman1-0/+38
These allow torture tests to perform cleanup after a failure, by jumping to a goto label.
2009-07-19Remove unused parameter setting.Jelmer Vernooij2-11/+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.
2009-06-02torture: minor fixes to torture macro text output.Günther Deschner1-2/+2
Guenther
2009-02-26lib/torture: fix depency to map_nt_error_from_unix()Stefan Metzmacher1-1/+3
This should fix the build on Mac OS 10 metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher2-3/+3
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-18Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2-0/+16
2008-11-18Explicitly include samba4 includes.h to fix the build.Jelmer Vernooij1-1/+1
2008-11-17Add helpful function for comparison of DATA_BLOB elementsAndrew Bartlett1-0/+15
2008-11-16s4:torture: fix the build with auto dependenciesStefan Metzmacher1-0/+1
metze
2008-11-16Remove unused init function in subunit code.Jelmer Vernooij1-6/+0
2008-11-16Move torture directory to top-level.Jelmer Vernooij2-4/+2
2008-11-16Move libtorture to top-level.Jelmer Vernooij5-0/+1174