(CommandList children: [ (C {(set)} {(-e)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MD) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (C {(mdconfig)} {(-a)} {(-t)} {(malloc)} {(-s)} {(4m)} {(-x)} {(63)} {(-y)} {(16)}) ] ) left_token: <Left_Backtick '`'> spids: [12 32] ) } spids: [11] ) ] spids: [11] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(KW_Bang '!')} {(-c)} {(/dev/) (${ VSub_Name MD)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(DQ ('MD device ') ($ VSub_Name '$MD') (' did not materialize'))}] redirects: [(Redir op:<Redir_GreatAnd '1>&'> fd:1 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(2)}) ] spids: [16777215 51] ) ] spids: [16777215 70] ) (C {(trap)} {(DQ ('mdconfig -d -u ') (${ VSub_Name MD))} {(EXIT)} {(INT)} {(TERM)}) (SimpleCommand words: [ {(dd)} {(Lit_VarLike 'if=') (/dev/zero)} {(Lit_VarLike 'of=') (tmp)} {(Lit_VarLike 'count=') (1)} ] redirects: [ (Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (SimpleCommand words: [{(./fdisk)} {(-b)} {(tmp)} {(-I)} {($ VSub_Name '$MD')}] redirects: [ (Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (C {(rm)} {(tmp)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:c) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [ {(dd)} {(Lit_VarLike 'if=') (/dev/) (${ VSub_Name MD)} {(Lit_VarLike 'count=') (1)} ] redirects: [(Redir op:<Redir_Great '2>'> fd:2 arg_word:{(/dev/null)})] ) (C {(md5)}) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [135 153] ) } spids: [134] ) ] spids: [134] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_Name '$c')} {(KW_Bang '!') (Lit_Other '=')} {(ea4277fcccb6a927a1a497a6b15bfb8c)} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} {(DQ ("FAILED: 'fdisk -I' gives bad checksum (") ($ VSub_Name '$c') (')'))} ] redirects: [(Redir op:<Redir_GreatAnd '1>&'> fd:1 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 170] ) ] spids: [16777215 189] ) (C {(echo)} {(DQ ('PASSED: fdisk -I'))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:c) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [(C {(./fdisk)} {($ VSub_Name '$MD')}) (C {(md5)})] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [198 206] ) } spids: [197] ) ] spids: [197] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_Name '$c')} {(KW_Bang '!') (Lit_Other '=')} {(4b126d7ac4c6b2af7ef27ede8ef102ec)} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(DQ ("FAILED: 'fdisk' gives bad checksum (") ($ VSub_Name '$c') (')'))}] redirects: [(Redir op:<Redir_GreatAnd '1>&'> fd:1 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 223] ) ] spids: [16777215 242] ) (C {(echo)} {(DQ ('PASSED: fdisk'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )