forked from samba-team/samba
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ctdb-tests: Simplify nodes file handling in tool tests
Instead of using an intermediate environment variable for nodes files, just create "node" or "nodes.<pnn>" in CTDB_BASE. This makes the nodes file loading in fake_ctdb slightly repetitive but simplifies the test scripts a lot. It also remove several instance of the CTDB_NODES variable from the code base, so it is no longer found by "git grep". Use an empty nodes file to indicate that fake_ctdbd should fail to read it. Signed-off-by: Martin Schwenke <[email protected]> Reviewed-by: Amitay Isaacs <[email protected]>
- Loading branch information
1 parent
3a7c49d
commit 480c586
Showing
4 changed files
with
41 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters