summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions/0049huge_0
blob: 12338087c63e0c8fa5e30921bfe82ca384f38383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# let's try to exceed transaction buffer space

$NFT flush ruleset
$NFT add table inet test
$NFT add chain inet test c

RULESET=$(
for ((i = 0; i < 3000; i++)); do
	echo "add rule inet test c accept comment rule$i"
done
)
$NFT -e -f - <<< "$RULESET" >/dev/null