summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0001define_slash_0
blob: 93c48115b11ba0741fa2af4af155d8bec87f4681 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# tests for commit 85d6803 (parser_bison: initializer_expr must use rhs_expr)

RULESET="
define net = 1.1.1.1/24
"

set -e

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