1# $FreeBSD$ 2 3. $(atf_get_srcdir)/../common/vnet.subr 4 5atf_test_case "235704" "cleanup" 6235704_head() 7{ 8 atf_set descr "Test PR #235704" 9 atf_set require.user root 10} 11 12235704_body() 13{ 14 vnet_init 15 vnet_mkjail one 16 17 tun=$(jexec one ifconfig tun create) 18 jexec one ifconfig ${tun} name foo 19 atf_check -s exit:0 jexec one ifconfig foo destroy 20} 21 22235704_cleanup() 23{ 24 vnet_cleanup 25} 26 27atf_init_test_cases() 28{ 29 atf_add_test_case "235704" 30} 31