(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.ShFunction name: cleanup_ body: (BraceGroup children: [ (command.Sentence child: (C {<rm>} {<-rf>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir'))}) terminator: <Id.Op_Semi _> ) ] ) ) (C {<.>} {(DQ ($ Id.VSub_DollarName '$abs_srcdir') <'/tests/other-fs-tmpdir'>)}) (command.AndOr ops:[Id.Op_DPipe] children:[(C {<mkdir>} {<foo>}) (C {<framework_failure_>})]) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<mv>} {<'foo/'>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir') <'/bar'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [118] ) ] ) ] ) (command.AndOr ops:[Id.Op_DPipe] children:[(C {<touch>} {<bar>}) (C {<framework_failure_>})]) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<mv>} {<bar>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir') <'/'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [145] ) ] ) ] ) (C {<mkdir>} {<bar2>}) (C {<touch>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir') <'/bar2'>)}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<mv>} {<bar2>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir') <'/'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [175] ) ] ) ] ) (C {<mkdir>} {<bar3>}) (C {<touch>} {<'bar3/file'>}) (C {<mkdir>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir') <'/bar3'>)}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<mv>} {<bar3>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir') <'/'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [209] ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<test>} {<-e>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir') <'/bar3/file'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [223] ) ] ) ] ) (C {<mkdir>} {<bar3>}) (C {<touch>} {<'bar3/file2'>}) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<mv>} {<bar3>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir') <'/'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [250] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (C {<test>} {<-e>} {(DQ ($ Id.VSub_DollarName '$other_partition_tmpdir') <'/bar3/file2'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [264] ) ] ) ] ) (C {<Exit>} {($ Id.VSub_DollarName '$fail')}) ] )