mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add Python Broker module load test to Docker image btests
We missed the fact that the broker module didn't load due to a wrong libpython version because we didn't test that load. Also remove an unused environment variable from btest.cfg.
This commit is contained in:
parent
25f86d1d7f
commit
ee58cb5785
2 changed files with 3 additions and 1 deletions
|
@ -9,5 +9,4 @@ MinVersion = 0.63
|
|||
[environment]
|
||||
LC_ALL=C
|
||||
PATH=%(testbase)s/../../auxil/btest:%(default_path)s
|
||||
TEST_IMAGE=${TEST_TAG:-zeek:latest}
|
||||
TZ=UTC
|
||||
|
|
|
@ -18,3 +18,6 @@ docker run --rm "${TEST_TAG}" zkg config
|
|||
|
||||
# Check that a plugin can be installed. We pick any plugin with minimal deps here.
|
||||
docker run --rm "${TEST_TAG}" zkg install --force sethhall/domain-tld | sed 's/(.*)/(XXX)/'
|
||||
|
||||
# Check that the Broker Python module loads
|
||||
docker run --rm "${TEST_TAG}" python3 -c "import broker"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue