| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # added 2026-04-22 by Rainer Gerhards |
| 3 | # This file is part of the liblognorm project, released under ASL 2.0 |
| 4 | srcdir="${srcdir:-.}" |
| 5 | # shellcheck disable=SC1091 |
| 6 | . "$srcdir"/exec.sh |
| 7 | |
| 8 | export ln_opts='-oturbo' |
| 9 | |
| 10 | test_def "$0" "TurboVM end-to-end smoke path" |
| 11 | add_rule 'version=2' |
| 12 | add_rule 'rule=:%source.ip:ipv4% count=%count:number% msg=%msg:word%' |
| 13 | |
| 14 | execute '192.0.2.5 count=42 msg=ready' |
| 15 | assert_output_json_eq '{ "source": { "ip": "192.0.2.5" }, "count": 42, "msg": "ready" }' |
| 16 | |
| 17 | |
| 18 | cleanup_tmp_files |