summaryrefslogtreecommitdiffstats
path: root/lib/torture
Commit message (Collapse)AuthorAgeFilesLines
* torture: add torture_assert_guid_equal() macro.Günther Deschner2011-11-031-0/+10
| | | | Guenther
* 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-smbtorture: add torture_assert_nttime_equal macro.Günther Deschner2010-12-221-1/+7
| | | | Guenther
* s4-smbtorture: add torture_assert_strn_equal macro.Günther Deschner2010-12-171-0/+10
| | | | Guenther
* s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2010-12-081-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
* lib/torture: add torture_assert_u64_equal_goto()Stefan Metzmacher2010-12-041-0/+13
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Dec 4 12:55:44 CET 2010 on sn-devel-104
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-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
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-1/+1
|
* 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-112-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>
* torture: Remove unused variable.Jelmer Vernooij2010-09-231-1/+0
|
* lib-subunit: fixed build on systems without subunit devel libraryAndrew Tridgell2010-09-231-4/+2
| | | | Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* smbtorture: Report times.Jelmer Vernooij2010-09-223-5/+39
|
* torture: Use system subunit library if available.Jelmer Vernooij2010-09-221-1/+0
|
* smbtorture: Use subunit C library.Jelmer Vernooij2010-09-222-28/+27
|
* torture: Remove active_testname variable.Jelmer Vernooij2010-09-212-22/+1
|
* torture: Fix running individual tests.Jelmer Vernooij2010-09-213-28/+70
|
* 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-212-2/+2
|
* torture: Simplify torture suite running, call restricted test suite runner.Jelmer Vernooij2010-04-102-0/+12
|
* lib/torture: also print intergers as HEX values in the torture_assert macrosStefan Metzmacher2010-04-091-6/+8
| | | | metze
* torture: add torture_assert_goto() convenience macroKamen Mazdrashki2010-04-091-0/+7
|
* s4-waf: removed the AUTOGENERATED markersAndrew Tridgell2010-04-061-3/+0
| | | | we won't be using the mk -> wscript generator again
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* s4-waf: enable the pc_files in the build rulesAndrew Tridgell2010-04-061-1/+1
|
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+12
|
* smbtorture: Report number of available tests in a testsuite using subunit.Jelmer Vernooij2010-03-313-1/+53
|
* fixed the buildAndrew Tridgell2009-11-181-0/+4
| | | | | | whoever pushed 15d93a5d8e21893e1cca5c989dbf97010aae1622, please check that what you push compiles and passes tests. In this case it didn't compile.
* s4/torture: add a new ulong parameteric torture optionAravind Srinivasan2009-11-171-0/+8
|
* s4/torture: add new torture_assert_*_todo() macrosSteven Danneman2009-09-081-0/+38
| | | | | These allow torture tests to perform cleanup after a failure, by jumping to a goto label.
* Remove unused parameter setting.Jelmer Vernooij2009-07-192-11/+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.
* torture: minor fixes to torture macro text output.Günther Deschner2009-06-021-2/+2
| | | | Guenther
* lib/torture: fix depency to map_nt_error_from_unix()Stefan Metzmacher2009-02-261-1/+3
| | | | | | This should fix the build on Mac OS 10 metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-292-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
* s3/s4 build: Fix "might be unitialized" warningTim Prouty2008-11-201-1/+1
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-11-182-0/+16
|\
| * Add helpful function for comparison of DATA_BLOB elementsAndrew Bartlett2008-11-171-0/+15
| |
| * s4:torture: fix the build with auto dependenciesStefan Metzmacher2008-11-161-0/+1
| | | | | | | | metze
* | Explicitly include samba4 includes.h to fix the build.Jelmer Vernooij2008-11-181-1/+1
|/
* Remove unused init function in subunit code.Jelmer Vernooij2008-11-161-6/+0
|
* Move torture directory to top-level.Jelmer Vernooij2008-11-162-4/+2
|
* Move libtorture to top-level.Jelmer Vernooij2008-11-165-0/+1174