summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optionals/log_prefix_0
blob: 513a9e74b92efb20fa10f459101b82db57904c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e

TMP=$(mktemp)

RULESET='define test = "state"
define foo = "match, logging"

table x {
        chain y {
                ct state invalid log prefix "invalid $test $foo:"
        }
}'

$NFT -f - <<< "$RULESET"