(CommandList
  children: [
    (C {(atf_test_case)} {(stdin)})
    (FuncDef
      name: stdin_head
      body: 
        (BraceGroup
          children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('stdin functionality'))})]
          spids: [12]
        )
      spids: [8 11]
    )
    (FuncDef
      name: stdin_body
      body: 
        (BraceGroup
          children: [
            (SimpleCommand
              words: [
                {(atf_check)}
                {(-o)}
                {(inline) (Lit_Other ':') (DQ (.so) (Lit_Other '\\') (n))}
                {(-e)}
                {(empty)}
                {(-s)}
                {(exit) (Lit_Other ':') (0)}
                {(soelim)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLessDash
                  fd: 16777215
                  body: {(DQ ('.so\n'))}
                  do_expansion: True
                  here_end: EOF
                  was_filled: True
                  spids: [71]
                )
              ]
            )
            (SimpleCommand
              words: [
                {(atf_check)}
                {(-o)}
                {(inline) (Lit_Other ':') (DQ ('.so  \t') (Lit_Other '\\') (n))}
                {(-e)}
                {(empty)}
                {(-s)}
                {(exit) (Lit_Other ':') (0)}
                {(soelim)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLessDash
                  fd: 16777215
                  body: {(DQ ('.so  \t\n'))}
                  do_expansion: True
                  here_end: EOF
                  was_filled: True
                  spids: [114]
                )
              ]
            )
            (SimpleCommand
              words: [
                {(atf_check)}
                {(-o)}
                {(inline) (Lit_Other ':') (DQ (.so) (Lit_Other '\\') (n))}
                {(-e)}
                {(empty)}
                {(-s)}
                {(exit) (Lit_Other ':') (0)}
                {(soelim)}
                {(-)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLessDash
                  fd: 16777215
                  body: {(DQ ('.so\n'))}
                  do_expansion: True
                  here_end: EOF
                  was_filled: True
                  spids: [159]
                )
              ]
            )
            (SimpleCommand
              words: [
                {(atf_check)}
                {(-o)}
                {(empty)}
                {(-e)}
                {(inline) (Lit_Other ':') 
                  (DQ ("soelim: can't open 'afile': No such file or directory") (Lit_Other '\\') (n))
                }
                {(-s)}
                {(exit) (Lit_Other ':') (1)}
                {(soelim)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLessDash
                  fd: 16777215
                  body: {(DQ ('.so afile\n'))}
                  do_expansion: True
                  here_end: EOF
                  was_filled: True
                  spids: [198]
                )
              ]
            )
            (SimpleCommand
              words: [
                {(atf_check)}
                {(-o)}
                {(inline) (Lit_Other ':') (DQ (.soafile) (Lit_Other '\\') (n))}
                {(-e)}
                {(empty)}
                {(-s)}
                {(exit) (Lit_Other ':') (0)}
                {(soelim)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLessDash
                  fd: 16777215
                  body: {(DQ ('.soafile\n'))}
                  do_expansion: True
                  here_end: EOF
                  was_filled: True
                  spids: [237]
                )
              ]
            )
            (SimpleCommand
              words: [
                {(atf_check)}
                {(-o)}
                {(empty)}
                {(-e)}
                {(inline) (Lit_Other ':') 
                  (DQ ("soelim: can't open 'afile': No such file or directory") (Lit_Other '\\') (n))
                }
                {(-s)}
                {(exit) (Lit_Other ':') (1)}
                {(soelim)}
                {(-C)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLessDash
                  fd: 16777215
                  body: {(DQ ('.soafile\n'))}
                  do_expansion: True
                  here_end: EOF
                  was_filled: True
                  spids: [278]
                )
              ]
            )
          ]
          spids: [32]
        )
      spids: [28 31]
    )
    (C {(atf_test_case)} {(files)})
    (FuncDef
      name: files_head
      body: 
        (BraceGroup
          children: [(C {(atf_set)} {(DQ (descr))} {(DQ ('testing files'))})]
          spids: [294]
        )
      spids: [290 293]
    )
    (FuncDef
      name: files_body
      body: 
        (BraceGroup
          children: [
            (C {(atf_check)} {(-o)} 
              {(inline) (Lit_Other ':') (DQ ('This is a test') (Lit_Other '\\') (n))} {(-e)} 
              {(inline) (Lit_Other ':') 
                (DQ ("soelim: can't open 'nonexistingfile': No such file or directory") 
                  (Lit_Other '\\') (n)
                )
              } {(-s)} {(exit) (Lit_Other ':') (1)} {(soelim)} 
              {
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [355 357]
                ) (/nonexisting.in)
              }
            )
            (C {(cp)} 
              {
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [364 366]
                ) (/basic)
              } {(.)}
            )
            (C {(atf_check)} {(-o)} 
              {(file) (Lit_Other ':') 
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [380 382]
                ) (/basic.out)
              } {(-e)} {(empty)} {(-s)} {(exit) (Lit_Other ':') (0)} {(soelim)} 
              {
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [403 405]
                ) (/basic.in)
              }
            )
            (C {(rm)} {(-f)} {(basic)})
            (C {(atf_check)} {(-o)} 
              {(file) (Lit_Other ':') 
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [425 427]
                ) (/basic.out)
              } {(-e)} {(empty)} {(-s)} {(exit) (Lit_Other ':') (0)} {(soelim)} 
              {(-I) 
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [449 451]
                )
              } 
              {
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [453 455]
                ) (/basic.in)
              }
            )
            (C {(atf_check)} {(-o)} 
              {(file) (Lit_Other ':') 
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [468 470]
                ) (/basic-with-space.out)
              } {(-e)} {(empty)} {(-s)} {(exit) (Lit_Other ':') (0)} {(soelim)} 
              {(-I) 
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [492 494]
                )
              } 
              {
                (CommandSubPart
                  command_list: (CommandList children:[(C {(atf_get_srcdir)})])
                  left_token: <Left_CommandSub '$('>
                  spids: [496 498]
                ) (/basic-with-space.in)
              }
            )
          ]
          spids: [314]
        )
      spids: [310 313]
    )
    (FuncDef
      name: atf_init_test_cases
      body: 
        (BraceGroup
          children: [(C {(atf_add_test_case)} {(stdin)}) (C {(atf_add_test_case)} {(files)})]
          spids: [509]
        )
      spids: [505 508]
    )
  ]
)