(command.CommandList children: [ (command.ShAssignment left: <Id.Lit_VarLike 'test_description='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'test_description='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test_description='> name:test_description) op: assign_op.Equal rhs: {(SQ <'git svn gc basic tests'>)} ) ] redirects: [] ) (command.Simple blame_tok: <.> more_env: [] words: [{<.>} {<'./lib-git-svn.sh'>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [ {<test_expect_success>} {(SQ <'setup directories and test repo'>)} { (SQ <'\n'> <'\tmkdir import &&\n'> <'\tmkdir tmp &&\n'> <'\techo "Sample text for Subversion repository." > import/test.txt &&\n'> <'\tsvn_cmd import -m "import for git svn" import "$svnrepo" > /dev/null\n'> <'\t'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [ {<test_expect_success>} {(SQ <'checkout working copy from svn'>)} {(SQ <'svn_cmd co "$svnrepo" test_wc'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [ {<test_expect_success>} {(SQ <'set some properties to create an unhandled.log file'>)} { (SQ <'\n'> <'\t(\n'> <'\t\tcd test_wc &&\n'> <'\t\tsvn_cmd propset foo bar test.txt &&\n'> <'\t\tsvn_cmd commit -m "property set"\n'> <'\t)'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [{<test_expect_success>} {(SQ <'Setup repo'>)} {(SQ <'git svn init "$svnrepo"'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [{<test_expect_success>} {(SQ <'Fetch repo'>)} {(SQ <'git svn fetch'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [ {<test_expect_success>} {(SQ <'make backup copy of unhandled.log'>)} {(SQ <'\n'> <'\t cp .git/svn/refs/remotes/git-svn/unhandled.log tmp\n'> <'\t'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [ {<test_expect_success>} {(SQ <'create leftover index'>)} {(SQ <'> .git/svn/refs/remotes/git-svn/index'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [{<test_expect_success>} {(SQ <'git svn gc runs'>)} {(SQ <'git svn gc'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [ {<test_expect_success>} {(SQ <'git svn index removed'>)} {(SQ <'! test -f .git/svn/refs/remotes/git-svn/index'>)} ] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Simple blame_tok: <test> more_env: [] words: [{<test>} {<-r>} {<'.git/svn/refs/remotes/git-svn/unhandled.log.gz'>}] redirects: [] do_fork: T ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <test_expect_success> more_env: [] words: [ {<test_expect_success>} {(SQ <'git svn gc produces a valid gzip file'>)} { (SQ <'\n'> <'\t\t gunzip .git/svn/refs/remotes/git-svn/unhandled.log.gz\n'> <'\t\t'>) } ] redirects: [] do_fork: T ) ] spids: [134 142] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <test_expect_success> more_env: [] words: [ {<test_expect_success>} {(SQ <'git svn gc does not change unhandled.log files'>)} { (SQ <'\n'> <'\t test_cmp .git/svn/refs/remotes/git-svn/unhandled.log tmp/unhandled.log\n'> <'\t'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <test_done> more_env: [] words: [{<test_done>}] redirects: [] do_fork: T ) ] )