<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/ctdb/tests/eventscripts/etc-ctdb, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/'/>
<entry>
<title>ctdb-tests: Unit tests for statd-callout</title>
<updated>2015-03-04T09:42:27+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2015-03-04T00:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=22602f76bc1ec91e807a8f1cd45ba6fb4c05e622'/>
<id>22602f76bc1ec91e807a8f1cd45ba6fb4c05e622</id>
<content type='text'>
With improvements to unit test infrastructure to support.  This
includes linking the real statd-callout into etc-ctdb/ in place of the
placeholder script.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With improvements to unit test infrastructure to support.  This
includes linking the real statd-callout into etc-ctdb/ in place of the
placeholder script.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb-scripts: Call iptables/ip6tables directly from iptables_wrapper</title>
<updated>2015-01-28T07:29:55+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2014-12-30T05:04:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=ab51f283e7a7f4fc82a94d39e7bb3a68e8aac554'/>
<id>ab51f283e7a7f4fc82a94d39e7bb3a68e8aac554</id>
<content type='text'>
Drops the iptables() and ip6tables() functions and, hence, the
hardcoding of paths /sbin/iptables and /sbin/ip6tables.  The latter
avoids problems on openSUSE where (for example) /usr/sbin/iptables is
used instead.

This means that locking around ip*tables commands is only done when
iptables_wrapper is called directly.  This is fine because the only
conflict is when "releaseip" or "takeip"/"updateip" events are run in
parallel.  The other uses in 11.natgw and 70.iscsi are in events where
there will be no collisions.

Making 11.natgw support IPv6 is unnecessary.  Just put a static IPv6
address on each interface - they're plentiful.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;

Autobuild-User(master): Amitay Isaacs &lt;amitay@samba.org&gt;
Autobuild-Date(master): Wed Jan 28 08:29:55 CET 2015 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drops the iptables() and ip6tables() functions and, hence, the
hardcoding of paths /sbin/iptables and /sbin/ip6tables.  The latter
avoids problems on openSUSE where (for example) /usr/sbin/iptables is
used instead.

This means that locking around ip*tables commands is only done when
iptables_wrapper is called directly.  This is fine because the only
conflict is when "releaseip" or "takeip"/"updateip" events are run in
parallel.  The other uses in 11.natgw and 70.iscsi are in events where
there will be no collisions.

Making 11.natgw support IPv6 is unnecessary.  Just put a static IPv6
address on each interface - they're plentiful.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;

Autobuild-User(master): Amitay Isaacs &lt;amitay@samba.org&gt;
Autobuild-Date(master): Wed Jan 28 08:29:55 CET 2015 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb-tests-eventscripts: Testing support for promote_secondaries</title>
<updated>2014-02-13T01:03:24+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2014-01-28T05:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=a226015990356ee989c5b9a472581bb3187de894'/>
<id>a226015990356ee989c5b9a472581bb3187de894</id>
<content type='text'>
Just enable this behaviour by default in the ip command stub, since
10.interface assumes/sets it.  The rc.local replacement for set_proc()
doesn't do anything...

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just enable this behaviour by default in the ip command stub, since
10.interface assumes/sets it.  The rc.local replacement for set_proc()
doesn't do anything...

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/eventscripts: Tests for memory checking in 00.ctdb</title>
<updated>2013-09-11T05:34:42+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2013-09-06T06:37:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=e0036996862fc9755b19ec495959e543bb6633fc'/>
<id>e0036996862fc9755b19ec495959e543bb6633fc</id>
<content type='text'>
... plus updates to test infrastructure to support.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 4a388fc6bf54636b7e1f6da8e6aa451cddd574f7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... plus updates to test infrastructure to support.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 4a388fc6bf54636b7e1f6da8e6aa451cddd574f7)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/eventscripts: Override background_with_logging(), just prepend "&amp;"</title>
<updated>2013-08-14T05:57:03+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2013-08-02T06:03:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=2afb5632c719bc8bd8569b6af309227401f4d9b4'/>
<id>2afb5632c719bc8bd8569b6af309227401f4d9b4</id>
<content type='text'>
That is, output that goes through background_with_logging() just gets
"&amp;" prepended to each line.  This is cleaner than having the tests
grovel through logs.

Update some 49.winbind/50.samba tests to deal with this.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 3ba933d806106d12bc48b83b22d0f314d9d1e5e5)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That is, output that goes through background_with_logging() just gets
"&amp;" prepended to each line.  This is cleaner than having the tests
grovel through logs.

Update some 49.winbind/50.samba tests to deal with this.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 3ba933d806106d12bc48b83b22d0f314d9d1e5e5)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/eventscripts: Unit tests for $CTDB_NFS_DUMP_STUCK_THREADS</title>
<updated>2013-06-14T05:15:07+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2013-06-13T06:32:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=27ba5b44b62e56ad4b32dbb71dd4ca5371a2d533'/>
<id>27ba5b44b62e56ad4b32dbb71dd4ca5371a2d533</id>
<content type='text'>
Includes minor test infrastructure updates.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit cd4358b01c6c3d413b431f5760029d2b163b9c03)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Includes minor test infrastructure updates.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit cd4358b01c6c3d413b431f5760029d2b163b9c03)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/eventscripts: Add unit tests for $CTDB_MONITOR_NFS_THREAD_COUNT</title>
<updated>2013-06-14T05:15:07+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2013-06-13T05:50:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=02dd1bf00f5fb9bb9b77aa98119c38d7404192a9'/>
<id>02dd1bf00f5fb9bb9b77aa98119c38d7404192a9</id>
<content type='text'>
Includes minor test infrastructure updates.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit ce2ef2be8aa22c0baf868daac8d4cf27246baa14)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Includes minor test infrastructure updates.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit ce2ef2be8aa22c0baf868daac8d4cf27246baa14)
</pre>
</div>
</content>
</entry>
<entry>
<title>eventscripts: 60.nfs uses nfs_check_rpc_services() to check NFS RPC services</title>
<updated>2013-05-07T02:55:09+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2013-04-23T02:17:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=434f9e8594c24eafe82b02be1e1396f48484bb47'/>
<id>434f9e8594c24eafe82b02be1e1396f48484bb47</id>
<content type='text'>
* New directory nfs-rpc-checks.d/ replaces hardcoded rules in 60.nfs

* Installation and packaging additions to handle nfs-rpc-checks.d/

* Unit test updates, including deleting 1 test that sanity checked
  test infrastructure

* Test infrastructure changes to use nfs-rpc-checks.d/

Note that this removes support for $CTDB_NFS_SKIP_KNFSD_ALIVE_CHECK in
60.nfs.  To get the equivalent behaviour, edit 20.nfsd.check and
remove/comment all lines.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 7e792d6768d9ca420ce3713cb122e63afd594b15)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* New directory nfs-rpc-checks.d/ replaces hardcoded rules in 60.nfs

* Installation and packaging additions to handle nfs-rpc-checks.d/

* Unit test updates, including deleting 1 test that sanity checked
  test infrastructure

* Test infrastructure changes to use nfs-rpc-checks.d/

Note that this removes support for $CTDB_NFS_SKIP_KNFSD_ALIVE_CHECK in
60.nfs.  To get the equivalent behaviour, edit 20.nfsd.check and
remove/comment all lines.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 7e792d6768d9ca420ce3713cb122e63afd594b15)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: More unit test factoring/rationalisation and bug fixes</title>
<updated>2012-04-18T00:37:45+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2012-04-18T00:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=116f19b808ace4a74bcf56a638923dcd1e1e975d'/>
<id>116f19b808ace4a74bcf56a638923dcd1e1e975d</id>
<content type='text'>
Move some options from eventscripts/run_tests.sh to scripts/run_tests.
Remove the former.

Move some functions from eventscripts/scripts/local.sh to
scripts/unit.sh.

Both of these are modified during move so they are no longer
eventscript-specific.

Tweak */local.sh so that the new functions in unit.sh are used.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 7ff485687891732074c9fc9998502ca197663d02)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move some options from eventscripts/run_tests.sh to scripts/run_tests.
Remove the former.

Move some functions from eventscripts/scripts/local.sh to
scripts/unit.sh.

Both of these are modified during move so they are no longer
eventscript-specific.

Tweak */local.sh so that the new functions in unit.sh are used.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 7ff485687891732074c9fc9998502ca197663d02)
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests - eventscripts - more public IPs in default setup</title>
<updated>2012-03-22T04:30:27+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2012-03-20T05:26:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=cb0b0e0ae064ea9de8fee3f2e42ac4926d6d5855'/>
<id>cb0b0e0ae064ea9de8fee3f2e42ac4926d6d5855</id>
<content type='text'>
Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 38396185effbcf313678c2e94d4bd20f534c4f03)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 38396185effbcf313678c2e94d4bd20f534c4f03)
</pre>
</div>
</content>
</entry>
</feed>
