{"thread":{"id":"25797","subject":"[PATCH jn/svn-fe] t9010 (svn-fe): Eliminate dependency on svn perl bindings","startedAt":"2010-11-20T22:31:28Z","lastAt":"2010-11-20T22:31:28Z","messageCount":1,"participants":["Jonathan Nieder"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"156269","messageId":"20101120223128.GA6584@burratino","threadId":"25797","inReplyTo":null,"subject":"[PATCH jn/svn-fe] t9010 (svn-fe): Eliminate dependency on svn perl bindings","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-11-20T22:31:28Z","receivedAt":"2010-11-20T22:31:28Z","isPatch":true,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"From: Ramkumar Ramachandra <artagnon@gmail.com>\nDate: Sun Oct 10 22:00:40 2010 -0500\n\nRunning test t9010 without the SVN:: perl modules currently errors\nout, for no good reason.  We can make these tests easier to read and\nrun by not using the perl libsvn bindings and instead duplicating only\nthe relevant code from lib-git-svn.sh.\n\nSigned-off-by: Ramkumar Ramachandra <artagnon@gmail.com>\nSigned-off-by: Jonathan Nieder <jrnieder@gmail.com>\n---\nA patch from Ram from a while ago.  It's still a good idea; sorry\nabout the delay.\n\nPatch is against the old svn-fe branch (cd9a7b57) but should apply\njust as well to more recent versions.\n\n t/t9010-svn-fe.sh |   14 ++++++++++++--\n 1 files changed, 12 insertions(+), 2 deletions(-)\n\ndiff --git a/t/t9010-svn-fe.sh b/t/t9010-svn-fe.sh\nindex a713dfc..fd851a4 100755\n--- a/t/t9010-svn-fe.sh\n+++ b/t/t9010-svn-fe.sh\n@@ -2,9 +2,19 @@\n \n test_description='check svn dumpfile importer'\n \n-. ./lib-git-svn.sh\n+. ./test-lib.sh\n \n-test_dump() {\n+svnconf=$PWD/svnconf\n+export svnconf\n+\n+svn_cmd () {\n+\tsubcommand=$1 &&\n+\tshift &&\n+\tmkdir -p \"$svnconf\" &&\n+\tsvn \"$subcommand\" --config-dir \"$svnconf\" \"$@\"\n+}\n+\n+test_dump () {\n \tlabel=$1\n \tdump=$2\n \ttest_expect_success \"$dump\" '\n-- \n1.7.2.3\n"}]}