2 # SPDX-License-Identifier: GPL-2.0
4 # Regression tests for IPv6 flowlabels
6 # run in separate namespaces to avoid mgmt db conflicts betweent tests
10 echo "TEST management"
11 .
/in_netns.sh .
/ipv6_flowlabel_mgr
15 sh
-c 'sysctl -q -w net.ipv6.auto_flowlabels=0 && ./ipv6_flowlabel -l 1'
17 echo "TEST datapath (with auto-flowlabels)"
19 sh
-c 'sysctl -q -w net.ipv6.auto_flowlabels=1 && ./ipv6_flowlabel -l 1'
21 echo OK. All tests passed