]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
tests: libebt_vlan.t: Drop trailing whitespace from rules
authorPhil Sutter <phil@nwl.cc>
Wed, 5 Oct 2022 18:30:44 +0000 (20:30 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 26 Oct 2022 18:11:55 +0000 (20:11 +0200)
Fast iptables-test.py mode is picky and it has to: Plain redirect target
prints a trailing whitespace, generally stripping the rules in test
cases won't work therefore.

Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libebt_vlan.t

index 81c795854fca077d868f3fa6a160ab1e4728a8a1..3ec0559953331b021299569c34cbbe79825285cc 100644 (file)
@@ -4,8 +4,8 @@
 -p 802_1Q --vlan-prio 1;=;OK
 -p 802_1Q --vlan-prio ! 1;=;OK
 -p 802_1Q --vlan-encap ip;-p 802_1Q --vlan-encap 0800 -j CONTINUE;OK
--p 802_1Q --vlan-encap 0800 ;=;OK
--p 802_1Q --vlan-encap ! 0800 ;=;OK
+-p 802_1Q --vlan-encap 0800;=;OK
+-p 802_1Q --vlan-encap ! 0800;=;OK
 -p 802_1Q --vlan-encap IPv6 ! --vlan-id 1;-p 802_1Q --vlan-id ! 1 --vlan-encap 86DD -j CONTINUE;OK
 -p 802_1Q --vlan-id ! 1 --vlan-encap 86DD;=;OK
 --vlan-encap ip;=;FAIL