mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This patch adds a minimal Zeek environment packaged as a container. Since this is intended both as a base layer for other images and as a quick way to explore Zeek we install only zeek and zkg as basic functionality. Closes #1625.
37 lines
1 KiB
YAML
37 lines
1 KiB
YAML
# See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
# This file contains a test configuration for
|
|
# https://github.com/GoogleContainerTools/container-structure-test.
|
|
|
|
schemaVersion: 2.0.0
|
|
|
|
commandTests:
|
|
- name: zeek can be run
|
|
command: zeek
|
|
args: ["-v"]
|
|
expectedOutput: ["^zeek version .*"]
|
|
|
|
- name: is release build
|
|
command: zeek-config
|
|
args: ["--build_type"]
|
|
expectedOutput: ["release"]
|
|
|
|
- name: btest can be run
|
|
command: btest
|
|
args: ["--version"]
|
|
expectedOutput: ["\\d\\.\\d"]
|
|
|
|
- name: valid zkg config
|
|
command: zkg
|
|
args: ["config"]
|
|
# Just validate that we some some valid entry here.
|
|
expectedOutput: ["state_dir = /usr/local/zeek/var/lib/zkg"]
|
|
|
|
- name: plugin can be installed
|
|
command: zkg
|
|
# We pick any plugin with minimal deps here.
|
|
args: ["install", "--force", "sethhall/domain-tld"]
|
|
expectedOutput:
|
|
- "Installing \"zeek/sethhall/domain-tld\""
|
|
- "Installed \"zeek/sethhall/domain-tld\" (.*)"
|
|
- "Loaded \"zeek/sethhall/domain-tld\""
|