Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

18 lines
451 B
Plaintext

# Test that the nodes command lists all zeek nodes.
#
# @TEST-EXEC: bash %INPUT
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-localhost-values btest-diff standalone
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-localhost-values btest-diff cluster
. zeekctl-test-setup
zeekctl install
zeekctl nodes > standalone
while read line; do installfile $line; done << EOF
etc/node.cfg__logger
EOF
zeekctl install
zeekctl nodes > cluster