1# $FreeBSD$ 2 3. $(atf_get_srcdir)/utils.subr 4 5atf_test_case "names" "cleanup" 6names_head() 7{ 8 atf_set descr 'Test overlapping names' 9 atf_set require.user root 10} 11 12names_body() 13{ 14 atf_skip "Kernel panics when flushing epair queue (bug238870)" 15 pft_init 16 17 epair=$(vnet_mkepair) 18 19 vnet_mkjail alcatraz ${epair}b 20 ifconfig ${epair}a name foo 21 jexec alcatraz ifconfig ${epair}b name foo 22 23 jail -r alcatraz 24 ifconfig foo destroy 25} 26 27names_cleanup() 28{ 29 pft_cleanup 30} 31 32atf_init_test_cases() 33{ 34 atf_add_test_case "names" 35} 36