blob: 0ad24d04cd4df039029aa643a0760ebf556d1ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
# 002f21765320 ("netfilter: nf_tables: add userdata attributes to nft_chain")
# v5.10-rc1~107^2~60^2~5
EXPECTED="table ip x {
chain y {
comment \"test\"
}
}"
$NFT -f - <<< $EXPECTED
diff -u <($NFT list ruleset) - <<<"$EXPECTED"
|