1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb
Martin Schwenke 9e954bcbf4 ctdb-tests: Don't use nc -d or -w options
nmap-ncat is used in some distributions to replace netcat.  It has a
different meaning for these options.

We can get the same effect as the current combination of -d and -w by
piping a sleep process to nc.  Subsequent use of $! works because it
gets the last process in pipeline.

Note that redirecting from /dev/null doesn't work with some versions
of nc.  They just exit when they get EOF.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Mar  9 12:24:13 CET 2018 on sn-devel-144
2018-03-09 12:24:13 +01:00
..
client ctdb-client: Client code should never free the client context 2018-03-09 07:08:23 +01:00
common ctdb-common: Drop unused function ctdb_sys_find_ifname() 2018-03-09 07:08:23 +01:00
config ctdb-scripts: Drop PID file argument from wrapper 2018-03-09 07:08:25 +01:00
doc Revert "ctdb-doc: Fix monitoring bug in example NFS Ganesha call-out" 2018-03-09 07:08:26 +01:00
ib ctdb-ib: Avoid fall through case statements 2018-03-09 07:08:23 +01:00
include ctdb-daemon: Add code to process ctdb_req_tunnel packets 2017-10-10 11:45:19 +02:00
packaging/RPM ctdb-packaging: Package up relevant /var subdirectories 2018-03-09 07:08:24 +01:00
protocol ctdb-protocol: Fix typo in type of return variable 2017-10-16 05:28:19 +02:00
server ctdb-daemon: CTDB_PIDFILE environment variable overrides default 2018-03-09 07:08:25 +01:00
tcp ctdb/tcp/tcp_connect.c set socket close on exec 2017-12-18 04:38:20 +01:00
tests ctdb-tests: Don't use nc -d or -w options 2018-03-09 12:24:13 +01:00
tools ctdb-tools: Fix documentation for ctdb ping command 2018-03-09 07:08:23 +01:00
utils ctdb/pmda: fix num_recoveries metric store 2018-03-05 16:01:17 +01:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore git: Ignore generated documentation files 2013-10-22 13:07:13 +11:00
configure ctdb-build: Allow configure and Makefile to find waf in tarball 2014-09-10 01:36:14 +02:00
configure.rpm ctdb-packaging: Package private libraries 2015-07-01 07:19:43 +02:00
COPYING add a licence file 2009-02-07 08:10:34 +11:00
Makefile ctdb-build: Add WAFLOCK magic to manpages target 2017-02-26 23:13:25 +01:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
wscript ctdb-tests: Depend on setup_ctdb_base() to install events.d/ 2018-03-09 07:08:25 +01:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.