(CommandList children: [ (C {(export)} {(Lit_VarLike "RUNFILES=") (BracedVarSub token: <VSub_Name RUNFILES> suffix_op: (StringUnary op_id: VTest_ColonHyphen arg_word: { (CommandSubPart command_list: (CommandList children: [ (Sentence child: (C { (CommandSubPart command_list: (CommandList children: [ (C {(cd)} { (CommandSubPart command_list: (CommandList children: [ (C {(dirname)} { (BracedVarSub token: <VSub_Name BASH_SOURCE> bracket_op: (ArrayIndex expr: (ArithWord w:{(Lit_Digits 0)}) ) spids: [59 64] ) } ) ] ) left_token: <Left_CommandSub "$("> spids: [56 65] ) } ) ] ) left_token: <Left_CommandSub "$("> spids: [53 66] ) } ) terminator: <Op_Semi ";"> ) (C {(pwd)}) ] ) left_token: <Left_CommandSub "$("> spids: [52 70] ) } ) spids: [49 71] ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CUT) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (AndOr children: [ (C {(cd)} { (CommandSubPart command_list: (CommandList children: [ (C {(dirname)} { (BracedVarSub token: <VSub_Name BASH_SOURCE> bracket_op: (ArrayIndex expr: (ArithWord w:{(Lit_Digits 0)}) ) spids: [81 86] ) } ) ] ) left_token: <Left_CommandSub "$("> spids: [78 87] ) } ) (C {(pwd)}) ] op_id: Op_DAmp ) ] ) left_token: <Left_CommandSub "$("> spids: [75 92] ) (/zip_manifest_creator) ) } spids: [73] ) ] spids: [73] ) (C {(cd)} {($ VSub_Name "$TEST_TMPDIR")}) (C {(touch)} {(classes.jar)}) (C {(touch)} {(AndroidManifest.xml)}) (C {(mkdir)} {(-p)} {(res/values)}) (C {(touch)} {(res/values/bar.xml)}) (C {(touch)} {(res/values/baz.xml)}) (C {(zip)} {(-q)} {(foo.zip)} {(classes.jar)}) (C {(zip)} {(-q)} {(foo.zip)} {(AndroidManifest.xml)}) (C {(zip)} {(-q)} {(foo.zip)} {(res/values/bar.xml)}) (C {(zip)} {(-q)} {(foo.zip)} {(res/values/baz.xml)}) (C {($ VSub_Name "$CUT")} {(SQ <"res/.*">)} {(foo.zip)} {(actual.manifest)}) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id:Redir_Great fd:-1 arg_word:{(expected.manifest)} spids:[170]) (HereDoc op_id: Redir_DLess fd: -1 body: {(DQ ("res/values/bar.xml\n") ("res/values/baz.xml\n"))} do_expansion: True here_end: EOT was_filled: True spids: [174] ) ] ) (C {(cmp)} {(expected.manifest)} {(actual.manifest)}) ] )