<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/ctdb/tests/onnode, 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-tools: Update onnode and ctdb-diagnostics to use ctdb -X</title>
<updated>2014-12-05T20:02:40+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2014-11-20T03:39:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=55df9c86c19e261a2a384ffc4b77c596c84e53a0'/>
<id>55df9c86c19e261a2a384ffc4b77c596c84e53a0</id>
<content type='text'>
Also update onnode unit tests.

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>
Also update onnode unit tests.

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>tools/onnode: Fix healthy/ok node handling</title>
<updated>2013-10-29T06:14:55+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2013-10-24T03:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=e8de58abd7fe7bec7752c6e33ea3e366d3c31a9d'/>
<id>e8de58abd7fe7bec7752c6e33ea3e366d3c31a9d</id>
<content type='text'>
This bit-rotted a long time ago when the "ThisNode" column was added
to "ctdb -Y status" output.  The fake "ctdb -Y status" output in the
test was never updated to reflect this change.

Instead of making sure that all columns are "0", just check that
they're not "1".  This implicitly ignores "Y" and "N" in this
"ThisNode" column without having to do anything else clever.

Also update associated tests.  The main "ctdb ok" test had a duplicate
opening line for a here document, which was tickled by this change.

This fixes samba bz#8122.

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

onnode test fixup

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

(This used to be ctdb commit 01a46205c3a3d6609dc0b0324319b89667dffa32)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This bit-rotted a long time ago when the "ThisNode" column was added
to "ctdb -Y status" output.  The fake "ctdb -Y status" output in the
test was never updated to reflect this change.

Instead of making sure that all columns are "0", just check that
they're not "1".  This implicitly ignores "Y" and "N" in this
"ThisNode" column without having to do anything else clever.

Also update associated tests.  The main "ctdb ok" test had a duplicate
opening line for a here document, which was tickled by this change.

This fixes samba bz#8122.

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

onnode test fixup

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

(This used to be ctdb commit 01a46205c3a3d6609dc0b0324319b89667dffa32)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Unit tests should use $TEST_VAR_DIR</title>
<updated>2012-04-27T05:42:42+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2012-04-24T04:02:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=cb0995906327bf137b9ae402ef25e5b7e6bfd59e'/>
<id>cb0995906327bf137b9ae402ef25e5b7e6bfd59e</id>
<content type='text'>
This directory is already guaranteed to be absolute, so no check is
needed.

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

(This used to be ctdb commit 78f6f209eb15102f4e8baa9106583df0ef4bb693)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This directory is already guaranteed to be absolute, so no check is
needed.

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

(This used to be ctdb commit 78f6f209eb15102f4e8baa9106583df0ef4bb693)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Make run_tests -X more flexible - it now works with onnode</title>
<updated>2012-04-27T05:40:43+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2012-04-20T06:43:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=6757ad62f4cda14066789989fb002cee7c009cde'/>
<id>6757ad62f4cda14066789989fb002cee7c009cde</id>
<content type='text'>
Hardcoding "sh -x" is suboptimal because some scripts, like onnode,
require bash.

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

(This used to be ctdb commit 246809af64c03d26288abff5907ed46614e72b15)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hardcoding "sh -x" is suboptimal because some scripts, like onnode,
require bash.

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

(This used to be ctdb commit 246809af64c03d26288abff5907ed46614e72b15)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Update README files and add new README files where missing</title>
<updated>2012-04-27T05:40:43+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2012-04-20T06:37:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=6764b7b33e0a8f61b51bb4c666205147744917c7'/>
<id>6764b7b33e0a8f61b51bb4c666205147744917c7</id>
<content type='text'>
Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit bef03b32f8ec114a64c55b25951aeeb939d87b33)
</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 bef03b32f8ec114a64c55b25951aeeb939d87b33)
</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/onnode - Restructure according to new convention</title>
<updated>2012-04-16T05:57:16+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2012-04-16T05:29:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=8c5fdb40cf950552fd094820b998bda9a580ed03'/>
<id>8c5fdb40cf950552fd094820b998bda9a580ed03</id>
<content type='text'>
Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 4c87888b2a559c0d1f285919a42de450a537a02f)
</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 4c87888b2a559c0d1f285919a42de450a537a02f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: eventscripts and onnode tests use stubs/ subdirectory instead of bin/.</title>
<updated>2011-08-03T05:55:35+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2011-07-07T06:17:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=7cec7807e11f433d781835975a0cfddb25b66585'/>
<id>7cec7807e11f433d781835975a0cfddb25b66585</id>
<content type='text'>
This sets up a more useful convention and avoids future .gitignore
problems.

Resolved conflict while cherry-picking this:

  Don't take the eventscripts files for this branch.  We'll put them
  elsewhere.

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

(This used to be ctdb commit a9879e37d4e3bb714ef6c0c4144c6949daec0b53)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This sets up a more useful convention and avoids future .gitignore
problems.

Resolved conflict while cherry-picking this:

  Don't take the eventscripts files for this branch.  We'll put them
  elsewhere.

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

(This used to be ctdb commit a9879e37d4e3bb714ef6c0c4144c6949daec0b53)
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: onnode tests changed to use a simple define_test() function.</title>
<updated>2011-08-03T05:51:44+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2011-06-07T06:05:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=3ee6a63e47fb07d34221c8e2c6df71ee4709e657'/>
<id>3ee6a63e47fb07d34221c8e2c6df71ee4709e657</id>
<content type='text'>
This makes global changes easier.

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

(This used to be ctdb commit 3af086398fecb5f7c501190f9620b9c7b201f0ca)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes global changes easier.

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

(This used to be ctdb commit 3af086398fecb5f7c501190f9620b9c7b201f0ca)
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: add initial onnode tests</title>
<updated>2011-08-03T05:51:44+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2011-05-25T03:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=51ef4b4e5548ad952f3476f2743016470680ae6e'/>
<id>51ef4b4e5548ad952f3476f2743016470680ae6e</id>
<content type='text'>
Add some simple tests for the onnode command.  These use fake ssh and
ctdb commands that are added to $PATH.  The infrastructure used is
quite flexible and would allow more complex tests to be written.

As-is, these tests expose some bugs in the an older version of onnode
that is included so it can be used to validate some of the tests.

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

(This used to be ctdb commit f7f9d0943474cb2de7832d7ca95210ea9e9c772b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add some simple tests for the onnode command.  These use fake ssh and
ctdb commands that are added to $PATH.  The infrastructure used is
quite flexible and would allow more complex tests to be written.

As-is, these tests expose some bugs in the an older version of onnode
that is included so it can be used to validate some of the tests.

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

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