summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/nft-f')
-rwxr-xr-xtests/shell/testcases/nft-f/0016redefines_112
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/shell/testcases/nft-f/0016redefines_1 b/tests/shell/testcases/nft-f/0016redefines_1
index 9f6b56fe..d0148d65 100755
--- a/tests/shell/testcases/nft-f/0016redefines_1
+++ b/tests/shell/testcases/nft-f/0016redefines_1
@@ -7,18 +7,18 @@ table ip x {
chain y {
define unused = 4.4.4.4
define address = { 1.1.1.1, 2.2.2.2 }
- ip saddr $address
+ ip saddr \$address
redefine address = { 3.3.3.3 }
- ip saddr $address
+ ip saddr \$address
undefine unused
}
}"
EXPECTED="table ip x {
- chain y {
- ip saddr { 1.1.1.1, 2.2.2.2 }
- ip saddr { 3.3.3.3 }
- }
+ chain y {
+ ip saddr { 1.1.1.1, 2.2.2.2 }
+ ip saddr { 3.3.3.3 }
+ }
}"
$NFT -f - <<< "$RULESET"