zeek/testing/btest/spicy/spicy-dump.spicy
Robin Sommer 10477b38aa
Move Spicy submodule a layer up.
This moves `auxil/spicy/spicy` to `auxil/spicy`. It relocates the
pieces previously inside that intermediary directory. The main change
is that now tweak the compilation flags for Spicy through target
options.

This is on top of `topic/robin/spicy-plugin`.
2023-05-16 12:09:12 +02:00

12 lines
332 B
Text

# @TEST-REQUIRES: have-spicy && test -x ${BUILD}/auxil/spicy/bin/spicy-dump
#
# @TEST-EXEC: printf 12345 | ${BUILD}/auxil/spicy/bin/spicy-dump -d %INPUT >output
# @TEST-EXEC: btest-diff output
#
# @TEST-DOC: Smoke test for a bundled Spicy.
module test;
public type X = unit {
xs: (bytes &size=1 &convert=$$.to_int()*11)[];
};