mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
e8de58abd7
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 <martin@meltin.net> onnode test fixup Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 01a46205c3a3d6609dc0b0324319b89667dffa32) |
||
---|---|---|
.. | ||
scripts | ||
stubs | ||
0001.sh | ||
0002.sh | ||
0003.sh | ||
0004.sh | ||
0005.sh | ||
0006.sh | ||
0070.sh | ||
0071.sh | ||
0072.sh | ||
0075.sh | ||
0080.sh | ||
0081.sh | ||
0090.sh | ||
0091.sh | ||
nodes | ||
README |
onnode unit tests ================= Examples: * ../run_tests.sh . Run all tests, displaying output. * ../run_tests.sh -s . Run all tests, displaying output and a summary. * ../run_tests.sh -sq . Run all tests, displaying only a summary. * ONNODE=onnode-buggy-001 ../run_tests.sh -s . Run against stubs/onnode-buggy-001 instead of default onnode version. Add more buggy versions of onnode to this directory as bugs are fixed to enable test validation using this feature. * ../run_tests.sh ./009*.sh Run only the specified tests. * ONNODE="stubs/onnode-buggy-001" ../run_tests.sh -X ./0090.sh ../run_tests.sh -X ./0090.sh Debug the specified test or test failure by tracing onnode with "bash -x". The test will fail because the bash trace output will be included in the test output. To see if the test pases, the -X can be dropped...