summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0031vmap_string_0
blob: 2af846a48a2ba5e87a92f38c446845b845f93a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

# Tests parse of corrupted verdicts

set -e

RULESET="
table ip foo {
	map bar {
		type ipv4_addr : verdict
		elements = {
			192.168.0.1 : ber
		}
	}

	chain ber {
	}
}"

$NFT -f - <<< "$RULESET" && exit 1
exit 0