mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
6757ad62f4
Hardcoding "sh -x" is suboptimal because some scripts, like onnode, require bash. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 246809af64c03d26288abff5907ed46614e72b15)
37 lines
872 B
Plaintext
37 lines
872 B
Plaintext
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...
|