(CommandList children: [ (C {(atf_test_case)} {(A_flag)}) (FuncDef name: A_flag_head body: (BraceGroup children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('Verify -A behavior'))})] spids: [87] ) spids: [83 86] ) (FuncDef name: A_flag_body body: (BraceGroup children: [ (C {(atf_check)} {(truncate)} {(-s)} {(10g)} {(sparse.file)}) (C {(atf_check)} {(-o)} {(inline) (Lit_Other ':') (SQ <'1\\tsparse.file\\n'>)} {(du)} {(-g)} {(sparse.file)} ) (C {(atf_check)} {(-o)} {(inline) (Lit_Other ':') (SQ <'10\\tsparse.file\\n'>)} {(du)} {(-A)} {(-g)} {(sparse.file)} ) ] spids: [106] ) spids: [102 105] ) (C {(atf_test_case)} {(H_flag)}) (FuncDef name: H_flag_head body: (BraceGroup children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('Verify -H behavior'))})] spids: [170] ) spids: [166 169] ) (FuncDef name: H_flag_body body: (BraceGroup children: [ (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:paths1) op: Equal rhs: {(SQ <'testdir/A/B testdir/A testdir/C testdir'>)} spids: [194] ) ] spids: [192] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:paths2) op: Equal rhs: {(SQ <'testdir/A/B testdir/A testdir/C testdir'>)} spids: [202] ) ] spids: [200] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:sep) op: Equal rhs: {(SQ <'\\n[0-9]+\\t'>)} spids: [210] ) ] spids: [208] ) (C {(atf_check)} {(mkdir)} {(testdir)}) (C {(atf_check)} {(-x)} {(DQ ('cd testdir && mkdir A && touch A/B && ln -s A C'))}) (C {(atf_check)} {(-o)} {(save) (Lit_Other ':') (du.out)} {(du)} {(-aAH)} {(testdir)}) (C {(atf_check)} {(egrep)} {(-q)} { (DQ ('[0-9]+') (EscapedLiteralPart token:<Lit_EscapedChar '\\t'>) (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name '$paths1')}) (C {(tr)} {(SQ <' '>)} {(DQ ($ VSub_Name '$sep'))}) ] negated: False ) ] ) left_token: <Left_CommandSub '$('> spids: [258 274] ) (EscapedLiteralPart token:<Lit_EscapedChar '\\n'>) ) } {(du.out)} ) (C {(atf_check)} {(-o)} {(save) (Lit_Other ':') (du_C.out)} {(du)} {(-aAH)} {(testdir/C)}) (C {(atf_check)} {(egrep)} {(-q)} { (DQ ('[0-9]+') (EscapedLiteralPart token:<Lit_EscapedChar '\\t'>) (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name '$paths2')}) (C {(tr)} {(SQ <' '>)} {(DQ ($ VSub_Name '$sep'))}) ] negated: False ) ] ) left_token: <Left_CommandSub '$('> spids: [305 321] ) (EscapedLiteralPart token:<Lit_EscapedChar '\\n'>) ) } {(du_C.out)} ) ] spids: [189] ) spids: [185 188] ) (C {(atf_test_case)} {(I_flag)}) (FuncDef name: I_flag_head body: (BraceGroup children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('Verify -I behavior'))})] spids: [338] ) spids: [334 337] ) (FuncDef name: I_flag_body body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:paths_sans_foo_named) op: Equal rhs: {(DQ ('a/motley/fool/of/sorts fool/parts/with/their/cache bar baz'))} spids: [360] ) ] spids: [360] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:paths_foo_named) op: Equal rhs: {(DQ ('foo foobar'))} spids: [366] ) ] spids: [366] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:paths) op: Equal rhs: { (DQ ($ VSub_Name '$paths_sans_foo_named') (' ') ($ VSub_Name '$paths_foo_named')) } spids: [372] ) ] spids: [372] ) (C {(atf_check)} {(-x)} {(DQ ('mkdir testdir && cd testdir && mkdir -p ') ($ VSub_Name '$paths'))} ) (C {(atf_check)} {(-o)} {(save) (Lit_Other ':') (du.out)} {(-x)} {(DQ ('cd testdir && du -s ') ($ VSub_Name '$paths_sans_foo_named'))} ) (C {(atf_check)} {(-o)} {(save) (Lit_Other ':') (du_I.out)} {(-x)} {(DQ ("cd testdir && du -I '*foo*' -s ") ($ VSub_Name '$paths'))} ) (C {(atf_check)} {(diff)} {(-u)} {(du.out)} {(du_I.out)}) ] spids: [357] ) spids: [353 356] ) (C {(atf_test_case)} {(c_flag)}) (FuncDef name: c_flag_head body: (BraceGroup children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('Verify -c output'))})] spids: [453] ) spids: [449 452] ) (FuncDef name: c_flag_body body: (BraceGroup children: [(C {(atf_check)} {(truncate)} {(-s)} {(0)} {(foo)} {(bar)})] spids: [472] ) spids: [468 471] ) (C {(atf_test_case)} {(g_flag)}) (FuncDef name: g_flag_head body: (BraceGroup children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('Verify -g output'))})] spids: [498] ) spids: [494 497] ) (FuncDef name: g_flag_body body: (BraceGroup children: [ (C {(atf_check)} {(truncate)} {(-s)} {(1k)} {(A)}) (C {(atf_check)} {(truncate)} {(-s)} {(1m)} {(B)}) (C {(atf_check)} {(truncate)} {(-s)} {(1g)} {(C)}) (C {(atf_check)} {(truncate)} {(-s)} {(1t)} {(D)}) (C {(atf_check)} {(-o)} {(inline) (Lit_Other ':') (SQ <'1\\tA\\n1\\tB\\n1\\tC\\n1024\\tD\\n'>)} {(du)} {(-Ag)} {(A)} {(B)} {(C)} {(D)} ) ] spids: [517] ) spids: [513 516] ) (C {(atf_test_case)} {(h_flag)}) (FuncDef name: h_flag_head body: (BraceGroup children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('Verify -h output'))})] spids: [597] ) spids: [593 596] ) (FuncDef name: h_flag_body body: (BraceGroup children: [ (C {(atf_check)} {(truncate)} {(-s)} {(1k)} {(A)}) (C {(atf_check)} {(truncate)} {(-s)} {(1m)} {(B)}) (C {(atf_check)} {(truncate)} {(-s)} {(1g)} {(C)}) (C {(atf_check)} {(truncate)} {(-s)} {(1t)} {(D)}) (C {(atf_check)} {(-o)} {(inline) (Lit_Other ':') (SQ <'1.0K\\tA\\n1.0M\\tB\\n1.0G\\tC\\n1.0T\\tD\\n'>)} {(du)} {(-Ah)} {(A)} {(B)} {(C)} {(D)} ) ] spids: [616] ) spids: [612 615] ) (C {(atf_test_case)} {(k_flag)}) (FuncDef name: k_flag_head body: (BraceGroup children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('Verify -k output'))})] spids: [696] ) spids: [692 695] ) (FuncDef name: k_flag_body body: (BraceGroup children: [ (C {(atf_check)} {(truncate)} {(-s)} {(1k)} {(A)}) (C {(atf_check)} {(truncate)} {(-s)} {(1m)} {(B)}) (C {(atf_check)} {(-o)} {(inline) (Lit_Other ':') (SQ <'1\\tA\\n1024\\tB\\n'>)} {(du)} {(-Ak)} {(A)} {(B)} ) ] spids: [715] ) spids: [711 714] ) (C {(atf_test_case)} {(m_flag)}) (FuncDef name: m_flag_head body: (BraceGroup children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('Verify -m output'))})] spids: [769] ) spids: [765 768] ) (FuncDef name: m_flag_body body: (BraceGroup children: [ (C {(atf_check)} {(truncate)} {(-s)} {(1k)} {(A)}) (C {(atf_check)} {(truncate)} {(-s)} {(1m)} {(B)}) (C {(atf_check)} {(truncate)} {(-s)} {(1g)} {(C)}) (C {(atf_check)} {(-o)} {(inline) (Lit_Other ':') (SQ <'1\\tA\\n1\\tB\\n1024\\tC\\n'>)} {(du)} {(-Am)} {(A)} {(B)} {(C)} ) ] spids: [788] ) spids: [784 787] ) (FuncDef name: atf_init_test_cases body: (BraceGroup children: [ (C {(atf_add_test_case)} {(A_flag)}) (C {(atf_add_test_case)} {(H_flag)}) (C {(atf_add_test_case)} {(I_flag)}) (C {(atf_add_test_case)} {(g_flag)}) (C {(atf_add_test_case)} {(h_flag)}) (C {(atf_add_test_case)} {(k_flag)}) (C {(atf_add_test_case)} {(m_flag)}) ] spids: [851] ) spids: [847 850] ) ] )