summaryrefslogtreecommitdiff
path: root/selftest/in_screen
Commit message (Collapse)AuthorAgeFilesLines
* selftest: Reformat shell scriptsAndreas Schneider2022-03-031-45/+46
| | | | | | | shfmt -f selftest/ | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:rpc_server: Activate samba-dcerpcdVolker Lendecke2021-12-101-2/+2
| | | | | | | | | | | | | | This is the big switch to use samba-dcerpcd for the RPC services in source3/. It is a pretty big and unordered patch, but I don't see a good way to split this up into more manageable pieces without sacrificing bisectability even more. Probably I could cut out a few small ones, but a major architechtural switch like this will always be messy. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* testenv: No "mktemp" for in_screenVolker Lendecke2020-01-211-6/+0
| | | | | | We don't use this Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* testenv: Simplify "in_screen"Volker Lendecke2020-01-211-9/+1
| | | | | | We don't need "seq", bash can do that itself, and we assume bash here Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* testenv: Properly kill daemonsVolker Lendecke2020-01-211-0/+14
| | | | | | Without this, all the daemons were kept around Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* testenv: Be more careful deleting environment tmpfilesVolker Lendecke2020-01-211-2/+1
| | | | | | | | | If there is more than one server we will have for example nt4_dc.smbd, nt4_dc.nmbd and nt4_dc.winbind as daemon environments, together with the commandline environment "nt4_dc" coming last. Before this patch we would have deleted all previous tmpfiles in the commandline environment. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* selftest: Give tmux a bit of time to establishVolker Lendecke2017-06-211-0/+4
| | | | | | | | | | | | I've seen a lot of failures with make testenv telling that stdin returns EAGAIN. I haven't fully diagnosed it, but this seems to fix it. Now make testenv is much more reliable. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Jun 21 03:14:17 CEST 2017 on sn-devel-144
* selftest: Add support for tmate.Andreas Schneider2014-06-061-1/+7
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 6 02:25:52 CEST 2014 on sn-devel-104
* selftest: let "make testenv SCREEN=1" use tmux if it is runningGregor Beck2014-02-111-1/+5
| | | | | | Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* fix in_screen so that it works on os that don't chdir to $PWDMatthieu Patou2010-11-051-0/+1
| | | | | | | | | That's the case on freebsd 7.2 Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 5 09:27:19 UTC 2010 on sn-devel-104
* build: make make tests SCREEN=1 work on freebsdMatthieu Patou2010-10-101-2/+15
|
* s4-selftest: support 'make testenv SCREEN=1'Andrew Tridgell2010-10-021-3/+15
| | | | | | | | | | this can be used to start a test envioronment in screen windows. Use: make testenv SCREEN=1 SELFTEST_TESTENV=dc to launch just one environment (in this case, "dc")
* s4-selftest: added --screen option for testAndrew Tridgell2010-10-021-0/+54
you can now do: make test TESTS="some test" SCREEN=1 while in GNU screen, and all the samba servers will launch in their own new screen, named after the server name. You can also do: make test TESTS="some test" SCREEN=1 VALGRIND_SERVER=1 to run valgrind on each samba server, or make test TESTS="some test" SCREEN=1 GDBTEST=1 to run gdb on each server