(command.CommandList children: [ (command.Pipeline children: [ (C {(env)}) (command.SimpleCommand words: [{(grep)} {(MESOS_SOURCE_DIR)}] redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)})] ) ] negated: F ) (command.AndOr ops: [Op_DAmp Op_DAmp] children: [ (C {(test)} {($ VSub_QMark '$?')} {(KW_Bang '!') (Lit_Other '=')} {(0)}) (C {(echo)} {(DQ ('Failed to find MESOS_SOURCE_DIR in environment'))}) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (command.Pipeline children: [ (C {(env)}) (command.SimpleCommand words: [{(grep)} {(MESOS_BUILD_DIR)}] redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)})] ) ] negated: F ) (command.AndOr ops: [Op_DAmp Op_DAmp] children: [ (C {(test)} {($ VSub_QMark '$?')} {(KW_Bang '!') (Lit_Other '=')} {(0)}) (C {(echo)} {(DQ ('Failed to find MESOS_BUILD_DIR in environment'))}) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (C {(source)} {(${ VSub_Name MESOS_SOURCE_DIR) (/support/atexit.sh)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:MESOS_WORK_DIR spids:[96]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(mktemp)} {(-d)} {(-t)} {(mesos-XXXXXX)})] ) left_token: <Left_Backtick '`'> spids: [97 105] ) } spids: [96] ) ] spids: [96] ) (C {(atexit)} {(DQ ('rm -rf ') (${ VSub_Name MESOS_WORK_DIR))}) (C {(export)} {(Lit_VarLike 'MESOS_WORK_DIR=') (${ VSub_Name MESOS_WORK_DIR)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:MESOS_RUNTIME_DIR spids:[125]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(mktemp)} {(-d)} {(-t)} {(mesos-XXXXXX)})] ) left_token: <Left_Backtick '`'> spids: [126 134] ) } spids: [125] ) ] spids: [125] ) (C {(atexit)} {(DQ ('rm -rf ') (${ VSub_Name MESOS_RUNTIME_DIR))}) (C {(export)} {(Lit_VarLike 'MESOS_RUNTIME_DIR=') (${ VSub_Name MESOS_RUNTIME_DIR)}) (C {(export)} {(Lit_VarLike 'MESOS_AUTHENTICATION_TIMEOUT=') (200ms)}) (C {(export)} {(Lit_VarLike 'MESOS_NUM_SLAVES=') (3)}) (C {(export)} {(Lit_VarLike 'MESOS_RESOURCES=') (DQ ('cpus:2;mem:10240'))}) (C {(export)} {(Lit_VarLike 'MESOS_ISOLATION=') (DQ ('filesystem/posix,posix/cpu,posix/mem'))}) (C {(export)} {(Lit_VarLike 'MESOS_LAUNCHER=') (DQ (posix))}) (C {(exec)} {($ VSub_DollarName '$MESOS_BUILD_DIR') (/src/examples/python/test-framework)} {(Assign_Local local)} ) ] )