(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:CURRENT_DIR) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (AndOr children: [ (C {(cd)} { (DQ (CommandSubPart command_list: (CommandList children: [ (C {(dirname)} { (DQ (BracedVarSub token: <VSub_Name BASH_SOURCE> bracket_op: (ArrayIndex expr: (ArithWord w:{(Lit_Digits 0)}) ) spids: [60 65] ) ) } ) ] ) left_token: <Left_CommandSub "$("> spids: [56 67] ) ) } ) (C {(pwd)}) ] op_id: Op_DAmp ) ] ) left_token: <Left_CommandSub "$("> spids: [52 73] ) ) } spids: [50] ) ] spids: [50] ) (AndOr children: [ (C {(source)} {(DQ (${ VSub_Name CURRENT_DIR) (/../integration_test_setup.sh))}) (BraceGroup children: [ (Sentence child: (SimpleCommand words: [{(echo)} {(DQ ("integration_test_setup.sh not found!"))}] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[97])] ) terminator: <Op_Semi ";"> ) (Sentence child:(C {(exit)} {(1)}) terminator:<Op_Semi ";">) ] spids: [89] ) ] op_id: Op_DPipe ) (FuncDef name: test_use_depot_javabase body: (BraceGroup children: [ (AndOr children: [ (SimpleCommand words: [{(bazel)} {(--batch)} {(version)}] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {($ VSub_Name "$TEST_log")} spids: [124] ) ] ) (C {(fail)} {(DQ ("Couldn't run ") (${ VSub_Name PRODUCT_NAME))}) ] op_id: Op_DPipe ) (C {(expect_not_log)} {(DQ ("Couldn't find java at"))}) (C {(expect_not_log)} {(DQ ("Problem with java installation"))}) ] spids: [115] ) spids: [109 114] ) (FuncDef name: test_fallback_depot_javabase body: (BraceGroup children: [ (AndOr children: [ (SimpleCommand words: [ {(bazel)} {(--batch)} {(--host_javabase) (Lit_Other "=") (/does/not/exist)} {(version)} ] redirects: [ (Redir op_id: Redir_GreatAnd fd: -1 arg_word: {($ VSub_Name "$TEST_log")} spids: [175] ) ] ) (Subshell child: (AndOr children: [ (C {(expect_log)} {(DQ ("Couldn't find java at"))}) (C {(expect_not_log)} {(DQ ("Problem with java installation"))}) ] op_id: Op_DAmp ) spids: [182 197] ) ] op_id: Op_DPipe ) ] spids: [162] ) spids: [156 161] ) (C {(run_suite)} {(DQ ("Tests of specifying custom javabase."))}) ] )