carp.sh (47308803e7b92c15326707f76739bcb6dc1383c7) | carp.sh (01f3f35447b0a43b37ecc71ebb9296aad123cd43) |
---|---|
1# $FreeBSD$ 2# 3# SPDX-License-Identifier: BSD-2-Clause-FreeBSD 4# 5# Copyright (c) 2020 Kristof Provost <kp@FreeBSD.org> 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions --- 123 unchanged lines hidden (view full) --- 132 jexec carp_basic_v6_three ifconfig ${epair_two}b inet6 2001:db8::1:3/64 up no_dad 133 jexec carp_basic_v6_three ifconfig ${epair_two}b inet6 add vhid 1 \ 134 2001:db8::0:1/64 135 136 wait_for_carp carp_basic_v6_two ${epair_one}b \ 137 carp_basic_v6_three ${epair_two}b 138 139 atf_check -s exit:0 -o ignore jexec carp_basic_v6_one \ | 1# $FreeBSD$ 2# 3# SPDX-License-Identifier: BSD-2-Clause-FreeBSD 4# 5# Copyright (c) 2020 Kristof Provost <kp@FreeBSD.org> 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions --- 123 unchanged lines hidden (view full) --- 132 jexec carp_basic_v6_three ifconfig ${epair_two}b inet6 2001:db8::1:3/64 up no_dad 133 jexec carp_basic_v6_three ifconfig ${epair_two}b inet6 add vhid 1 \ 134 2001:db8::0:1/64 135 136 wait_for_carp carp_basic_v6_two ${epair_one}b \ 137 carp_basic_v6_three ${epair_two}b 138 139 atf_check -s exit:0 -o ignore jexec carp_basic_v6_one \ |
140 ping6 -c 3 2001:db8::0:1 | 140 ping -6 -c 3 2001:db8::0:1 |
141} 142 143basic_v6_cleanup() 144{ 145 vnet_cleanup 146} 147 148atf_init_test_cases() 149{ 150 atf_add_test_case "basic_v4" 151 atf_add_test_case "basic_v6" 152} | 141} 142 143basic_v6_cleanup() 144{ 145 vnet_cleanup 146} 147 148atf_init_test_cases() 149{ 150 atf_add_test_case "basic_v4" 151 atf_add_test_case "basic_v6" 152} |