(command.CommandList children: [ (command.CommandList children: [ (command.Sentence child: (C {<.>} { (DQ (braced_var_sub token: <Id.VSub_Name srcdir> suffix_op: (suffix_op.Unary tok:<Id.VTest_Equals '='> arg_word:{<.>}) ) <'/tests/init.sh'> ) } ) terminator: <Id.Op_Semi _> ) (C {<path_prepend_>} {<'./src'>}) ] ) (C {<print_ver_>} {<mv>}) (command.AndOr ops: [Id.Op_DPipe] children: [(C {<mkdir>} {<-p>} {<'a/t'>} {<'b/t'>}) (C {<framework_failure_>})] ) (command.AndOr ops: [Id.Op_DPipe] children: [(C {<touch>} {<'a/t/f'>}) (C {<framework_failure_>})] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.Simple words: [{<mv>} {<'b/t'>} {<a>}] redirects: [(redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<out>})] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [111] ) ] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.Simple words: [{<sed>} {(SQ <'s/: File exists/: Directory not empty/'>)}] redirects: [ (redir op:<Id.Redir_Less '<'> loc:(redir_loc.Fd fd:0) arg:{<out>}) (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<o1>}) ] do_fork: T ) terminator: <Id.Op_Semi _> ) (C {<mv>} {<o1>} {<out>}) ] ) (command.CommandList children: [ (command.Sentence child: (command.Simple words: [{<sed>} {(SQ <'s/: Device or resource busy/: Directory not empty/'>)}] redirects: [ (redir op:<Id.Redir_Less '<'> loc:(redir_loc.Fd fd:0) arg:{<out>}) (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<o1>}) ] do_fork: T ) terminator: <Id.Op_Semi _> ) (C {<mv>} {<o1>} {<out>}) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\E'>) <OF>} here_end_span_id: 167 stdin_parts: [<'mv: cannot move \'b/t\' to \'a/t\': Directory not empty\n'>] ) ) (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<exp>}) ] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [163] ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {<exp>} {<out>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [177] ) ] ) ] ) (C {<Exit>} {($ Id.VSub_DollarName '$fail')}) ] )