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

18 lines
353 B
Plaintext

# Test that plugins can define new state variables.
#
# @TEST-EXEC: bash %INPUT
# @TEST-EXEC: btest-diff out1
# @TEST-EXEC: btest-diff out2
. zeekctl-test-setup
while read line; do installfile $line; done << EOF
plugins/statetest.py $ZEEKCTL_INSTALL_PYTHON_DIR/zeekctl/plugins --new
EOF
zeekctl exit
mv state.out out1
zeekctl exit
mv state.out out2