(command.CommandList children: [ (C {(atf_test_case)} {(static_ipv4_loopback_route_for_each_fib)} {(cleanup)}) (command.ShFunction name: static_ipv4_loopback_route_for_each_fib_head body: (command.BraceGroup children: [ (C {(atf_set)} {(DQ (descr))} {(DQ ('Every FIB should have a static IPv4 loopback route'))}) ] ) ) (command.ShFunction name: static_ipv4_loopback_route_for_each_fib_body body: (command.BraceGroup children: [ (C {(local)} {(nfibs)} {(fib)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:nfibs) op: Equal rhs: { (command_sub left_token: <Left_Backtick '`'> command_list: (command.CommandList children: [(C {(sysctl)} {(-n)} {(net.fibs)})] ) ) } ) ] ) (command.ForEach iter_name: fib iter_words: [ { (command_sub left_token: <Left_Backtick '`'> command_list: (command.CommandList children: [ (C {(seq)} {(0)} { (word_part.ArithSub anode: (arith_expr.Binary op_id: Arith_Minus left: (arith_expr.ArithWord w:{(${ VSub_Name nfibs)}) right: (arith_expr.ArithWord w:{(Lit_Digits 1)}) ) ) } ) ] ) ) } ] do_arg_iter: F body: (command.DoGroup children: [ (C {(atf_check)} {(-o)} {(match) (Lit_Other ':') (DQ ('interface: lo0'))} {(-s)} {(ControlFlow_Exit exit) (Lit_Other ':') (0)} {(setfib)} {(-F)} {(${ VSub_Name fib)} {(route)} {(-4)} {(get)} {(127.0.0.1)} ) ] ) ) ] ) ) (C {(atf_test_case)} {(static_ipv6_loopback_route_for_each_fib)} {(cleanup)}) (command.ShFunction name: static_ipv6_loopback_route_for_each_fib_head body: (command.BraceGroup children: [ (C {(atf_set)} {(DQ (descr))} {(DQ ('Every FIB should have a static IPv6 loopback route'))}) ] ) ) (command.ShFunction name: static_ipv6_loopback_route_for_each_fib_body body: (command.BraceGroup children: [ (C {(local)} {(nfibs)} {(fib)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:nfibs) op: Equal rhs: { (command_sub left_token: <Left_Backtick '`'> command_list: (command.CommandList children: [(C {(sysctl)} {(-n)} {(net.fibs)})] ) ) } ) ] ) (command.ForEach iter_name: fib iter_words: [ { (command_sub left_token: <Left_Backtick '`'> command_list: (command.CommandList children: [ (C {(seq)} {(0)} { (word_part.ArithSub anode: (arith_expr.Binary op_id: Arith_Minus left: (arith_expr.ArithWord w:{(${ VSub_Name nfibs)}) right: (arith_expr.ArithWord w:{(Lit_Digits 1)}) ) ) } ) ] ) ) } ] do_arg_iter: F body: (command.DoGroup children: [ (C {(atf_check)} {(-o)} {(match) (Lit_Other ':') (DQ ('interface: lo0'))} {(-s)} {(ControlFlow_Exit exit) (Lit_Other ':') (0)} {(setfib)} {(-F)} {(${ VSub_Name fib)} {(route)} {(-6)} {(get)} {(Lit_Other ':') (Lit_Other ':') (1)} ) ] ) ) ] ) ) (command.ShFunction name: atf_init_test_cases body: (command.BraceGroup children: [ (C {(atf_add_test_case)} {(static_ipv4_loopback_route_for_each_fib)}) (C {(atf_add_test_case)} {(static_ipv6_loopback_route_for_each_fib)}) ] ) ) ] )