(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test_description='> name:test_description) op: assign_op.Equal rhs: {(SQ <'git svn initial master branch is "trunk" if possible'>)} spids: [12] ) ] redirects: [] ) (C {<.>} {<'./lib-git-svn.sh'>}) (C {<test_expect_success>} {(SQ <'setup test repository'>)} { (SQ <'\n'> <'\tmkdir i &&\n'> <'\t> i/a &&\n'> <'\tsvn_cmd import -m trunk i "$svnrepo/trunk" &&\n'> <'\tsvn_cmd import -m b/a i "$svnrepo/branches/a" &&\n'> <'\tsvn_cmd import -m b/b i "$svnrepo/branches/b"\n'> ) } ) (C {<test_expect_success>} {(SQ <'git svn clone --stdlayout sets up trunk as master'>)} { (SQ <'\n'> <'\tgit svn clone -s "$svnrepo" g &&\n'> <'\t(\n'> <'\t\tcd g &&\n'> <'\t\ttest x$(git rev-parse --verify refs/remotes/origin/trunk^0) = \\\n'> <'\t\t x$(git rev-parse --verify refs/heads/master^0)\n'> <'\t)\n'> ) } ) (C {<test_done>}) ] )