1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/tests/onnode
Martin Schwenke 7cec7807e1 Tests: eventscripts and onnode tests use stubs/ subdirectory instead of bin/.
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 <martin@meltin.net>

(This used to be ctdb commit a9879e37d4e3bb714ef6c0c4144c6949daec0b53)
2011-08-03 15:55:35 +10:00
..
stubs Tests: eventscripts and onnode tests use stubs/ subdirectory instead of bin/. 2011-08-03 15:55:35 +10:00
0001.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0002.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0003.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0004.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0005.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0006.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0070.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0071.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0072.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0075.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0080.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0081.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0090.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
0091.sh Tests: onnode tests changed to use a simple define_test() function. 2011-08-03 15:51:44 +10:00
common.sh Tests: eventscripts and onnode tests use stubs/ subdirectory instead of bin/. 2011-08-03 15:55:35 +10:00
nodes Tests: add initial onnode tests 2011-08-03 15:51:44 +10:00
README Tests: eventscripts and onnode tests use stubs/ subdirectory instead of bin/. 2011-08-03 15:55:35 +10:00
run_tests.sh Tests: add initial onnode tests 2011-08-03 15:51:44 +10:00

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="bash -x stubs/onnode-buggy-001" ./run_tests.sh ./0090.sh
  ONNODE="bash -x ../../tools/onnode" ./run_tests.sh ./0090.sh

  Debug the specified test or test failure.  The test will fail
  because the bash trace output will be included in the test output.
  However, this at least makes it easy to trace onnode while running
  the test...

  To see if the test pases, the -x can be dropped... so command-line
  editing can be kept to a minimum.