# @TEST-DOC: Test some invalid configurations.
#
# @TEST-REQUIRES: test -x ${BUILD}/tools/systemd-generator/zeek-systemd-generator
#
# @TEST-EXEC: rm -rf output_dir && mkdir output_dir
# @TEST-EXEC-FAIL: ${BUILD}/tools/systemd-generator/zeek-systemd-generator --config %INPUT output_dir
# @TEST-EXEC: btest-diff-remove-abspath .stderr
manager_nice =
proxy_nice = 100
logger_nice = abc
worker_nice = cba
archiver_nice = 10

# @TEST-START-NEXT
manager_memory_max =
logger_memory_max = 17P
worker_memory_max = bug
proxy_memory_max = = -23
archiver_memory_max = 64M

# @TEST-START-NEXT
manager_cpu_set  = a,b,c
logger_cpu_set =
proxy_cpu_set = -1,-2
archiver_cpu_set = 1,2,3

# @TEST-START-NEXT
interface = eth0

# @TEST-START-NEXT
workers = 8

# @TEST-START-NEXT
cluster_node_prefix = /a

# @TEST-START-NEXT
cluster_node_prefix = a b

# @TEST-START-NEXT
cluster_node_prefix = a.b

# @TEST-START-NEXT
address = [1.2.3.4

# @TEST-START-NEXT
address = 1.2.3.4]

# @TEST-START-NEXT
address = 10.0.0.256

# @TEST-START-NEXT
address = [a::yy]
