(command.CommandList children: [ (C {<Id.KW_Set set>} {<-e>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:MD) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> command_list: (command.CommandList children: [ (C {<mdconfig>} {<-a>} {<-t>} {<malloc>} {<-s>} {<4m>} {<-x>} {<63>} {<-y>} {<16>}) ] ) ) } spids: [11] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {<Id.KW_Bang '!'>} {<-c>} {</dev/> (${ Id.VSub_Name MD)} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] action: [ (command.Simple words: [ {<echo>} {(DQ <'MD device '> ($ Id.VSub_DollarName '$MD') <' did not materialize'>)} ] redirects: [(redir.Redir op:<Id.Redir_GreatAnd '1>&'> fd:1 arg_word:{<2>})] ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<2>}) ] spids: [36 53] ) ] ) (C {<trap>} {(DQ <'mdconfig -d -u '> (${ Id.VSub_Name MD))} {<EXIT>} {<INT>} {<TERM>}) (command.Simple words: [ {<dd>} {<Id.Lit_VarLike 'if='> </dev/zero>} {<Id.Lit_VarLike 'of='> <tmp>} {<Id.Lit_VarLike 'count='> <1>} ] redirects: [ (redir.Redir op:<Id.Redir_Great '>'> fd:-1 arg_word:{</dev/null>}) (redir.Redir op:<Id.Redir_GreatAnd '2>&'> fd:2 arg_word:{<1>}) ] ) (command.Simple words: [{<./fdisk>} {<-b>} {<tmp>} {<-I>} {($ Id.VSub_DollarName '$MD')}] redirects: [ (redir.Redir op:<Id.Redir_Great '>'> fd:-1 arg_word:{</dev/null>}) (redir.Redir op:<Id.Redir_GreatAnd '2>&'> fd:2 arg_word:{<1>}) ] ) (C {<rm>} {<tmp>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:c) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> command_list: (command.CommandList children: [ (command.Pipeline children: [ (command.Simple words: [ {<dd>} {<Id.Lit_VarLike 'if='> </dev/> (${ Id.VSub_Name MD)} {<Id.Lit_VarLike 'count='> <1>} ] redirects: [ (redir.Redir op: <Id.Redir_Great '2>'> fd: 2 arg_word: {</dev/null>} ) ] ) (C {<md5>}) ] negated: F ) ] ) ) } spids: [136] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$c')} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<ea4277fcccb6a927a1a497a6b15bfb8c>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] action: [ (command.Simple words: [ {<echo>} {(DQ <"FAILED: 'fdisk -I' gives bad checksum ("> ($ Id.VSub_DollarName '$c') <')'>)} ] redirects: [(redir.Redir op:<Id.Redir_GreatAnd '1>&'> fd:1 arg_word:{<2>})] ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [159 174] ) ] ) (C {<echo>} {(DQ <'PASSED: fdisk -I'>)}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:c) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> command_list: (command.CommandList children: [ (command.Pipeline children: [(C {<./fdisk>} {($ Id.VSub_DollarName '$MD')}) (C {<md5>})] negated: F ) ] ) ) } spids: [201] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$c')} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<4b126d7ac4c6b2af7ef27ede8ef102ec>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] action: [ (command.Simple words: [ {<echo>} {(DQ <"FAILED: 'fdisk' gives bad checksum ("> ($ Id.VSub_DollarName '$c') <')'>)} ] redirects: [(redir.Redir op:<Id.Redir_GreatAnd '1>&'> fd:1 arg_word:{<2>})] ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] spids: [214 229] ) ] ) (C {<echo>} {(DQ <'PASSED: fdisk'>)}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] )