(command.CommandList
  children: [
    (C {<atf_test_case>} {<concatenated>})
    (command.ShFunction
      name: concatenated_head
      body: 
        (BraceGroup
          children: [(C {<atf_set>} {(DQ <descr>)} {(DQ <'Checks concatenated gzipped data'>)})]
        )
    )
    (command.ShFunction
      name: concatenated_body
      body: 
        (BraceGroup
          children: [
            (command.Pipeline
              children: [
                (C {<echo>} {<-n>} {(DQ <aaaa>)})
                (command.Simple
                  words: [{<gzip>}]
                  redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<tmp.gz>})]
                  do_fork: T
                )
              ]
              negated: F
            )
            (command.Pipeline
              children: [
                (C {<echo>} {<-n>} {(DQ <bbbb>)})
                (command.Simple
                  words: [{<gzip>}]
                  redirects: [(redir op:<Id.Redir_DGreat '>>'> loc:(redir_loc.Fd fd:1) arg:{<tmp.gz>})]
                  do_fork: T
                )
              ]
              negated: F
            )
            (C {<atf_check>} {<-o>} {<inline> <Id.Lit_Colon ':'> (DQ <aaaabbbb>)} {<gzip>} {<-d>} 
              {<tmp.gz>} {<-c>}
            )
          ]
        )
    )
    (C {<atf_test_case>} {<pipe>})
    (command.ShFunction
      name: pipe_head
      body: (BraceGroup children:[(C {<atf_set>} {(DQ <descr>)} {(DQ <'Checks input from pipe'>)})])
    )
    (command.ShFunction
      name: pipe_body
      body: 
        (BraceGroup
          children: [
            (C {<atf_check>} {<-x>} 
              {
                (DQ <'dd if=/dev/zero count=102400 2>/dev/null '> 
                  <'| gzip -c | dd bs=1 2>/dev/null | gzip -tc'>
                )
              }
            )
          ]
        )
    )
    (C {<atf_test_case>} {<truncated>})
    (command.ShFunction
      name: truncated_head
      body: 
        (BraceGroup
          children: [(C {<atf_set>} {(DQ <descr>)} {(DQ <'Checks that gzip fails on truncated data'>)})]
        )
    )
    (command.ShFunction
      name: truncated_body
      body: 
        (BraceGroup
          children: [
            (command.Simple
              words: [{<cat>}]
              redirects: [
                (redir
                  op: <Id.Redir_Great '>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: {<truncated.gz.uue>}
                )
                (redir
                  op: <Id.Redir_DLess '<<'>
                  loc: (redir_loc.Fd fd:0)
                  arg: 
                    (redir_param.HereDoc
                      here_begin: {<EOF>}
                      here_end_span_id: 250
                      stdin_parts: [
                        <'begin-base64 644 truncated.gz\n'>
                        <'H4sIAAAAAAAAA0tMSk7hAgCspIpYCg==\n'>
                        <'====\n'>
                      ]
                    )
                )
              ]
              do_fork: T
            )
            (C {<uudecode>} {<-m>} {<truncated.gz.uue>})
            (C {<atf_check>} {<-s>} {<ne> <Id.Lit_Colon ':'> <0>} {<-e>} {<ignore>} {<gzip>} {<-d>} 
              {<truncated.gz>}
            )
          ]
        )
    )
    (C {<atf_test_case>} {<crcerror>})
    (command.ShFunction
      name: crcerror_head
      body: 
        (BraceGroup
          children: [(C {<atf_set>} {(DQ <descr>)} {(DQ <'Checks that gzip fails on crc error'>)})]
        )
    )
    (command.ShFunction
      name: crcerror_body
      body: 
        (BraceGroup
          children: [
            (command.Simple
              words: [{<cat>}]
              redirects: [
                (redir
                  op: <Id.Redir_Great '>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: {<crcerror.gz.uue>}
                )
                (redir
                  op: <Id.Redir_DLess '<<'>
                  loc: (redir_loc.Fd fd:0)
                  arg: 
                    (redir_param.HereDoc
                      here_begin: {<EOF>}
                      here_end_span_id: 323
                      stdin_parts: [
                        <'begin-base64 644 crcerror.gz\n'>
                        <'H4sIAAAAAAAAA0tMSk7hAgCspFhYBQAAAA==\n'>
                        <'====\n'>
                      ]
                    )
                )
              ]
              do_fork: T
            )
            (C {<uudecode>} {<-m>} {<crcerror.gz.uue>})
            (C {<atf_check>} {<-s>} {<ne> <Id.Lit_Colon ':'> <0>} {<-e>} {<ignore>} {<gzip>} {<-d>} 
              {<crcerror.gz>}
            )
          ]
        )
    )
    (C {<atf_test_case>} {<good>})
    (command.ShFunction
      name: good_head
      body: 
        (BraceGroup
          children: [(C {<atf_set>} {(DQ <descr>)} {(DQ <'Checks decompressing correct file'>)})]
        )
    )
    (command.ShFunction
      name: good_body
      body: 
        (BraceGroup
          children: [
            (command.Simple
              words: [{<cat>}]
              redirects: [
                (redir
                  op: <Id.Redir_Great '>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: {<good.gz.uue>}
                )
                (redir
                  op: <Id.Redir_DLess '<<'>
                  loc: (redir_loc.Fd fd:0)
                  arg: 
                    (redir_param.HereDoc
                      here_begin: {<EOF>}
                      here_end_span_id: 396
                      stdin_parts: [
                        <'begin-base64 644 good.gz\n'>
                        <'H4sICC8G8UAAA2FiY2QAS0xKTuECAKykilgFAAAA\n'>
                        <'====\n'>
                      ]
                    )
                )
              ]
              do_fork: T
            )
            (C {<uudecode>} {<-m>} {<good.gz.uue>})
            (C {<atf_check>} {<gzip>} {<-d>} {<good.gz>})
          ]
        )
    )
    (command.ShFunction
      name: atf_init_test_cases
      body: 
        (BraceGroup
          children: [
            (C {<atf_add_test_case>} {<concatenated>})
            (C {<atf_add_test_case>} {<pipe>})
            (C {<atf_add_test_case>} {<truncated>})
            (C {<atf_add_test_case>} {<crcerror>})
            (C {<atf_add_test_case>} {<good>})
          ]
        )
    )
  ]
)