From 65c96e90193e48fc519cab603c9d24dfce04b22b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 16 Apr 2008 13:20:08 +0200 Subject: [PATCH] some more tests --- run-tests.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/run-tests.sh b/run-tests.sh index 9314984..b5baf69 100644 --- a/run-tests.sh +++ b/run-tests.sh @@ -1,10 +1,14 @@ #!/bin/sh +rm -rf repro + +echo "####full import of master -> trunk" ./git2svn \ --verbose \ --no-unlink \ /Users/lha/src/heimdal/git-trunk repro || exit 1 +echo "####full import of branch -> branches/heimdal-1-1-branch" ./git2svn \ --verbose \ --no-unlink \ @@ -12,11 +16,19 @@ --git-branch=heimdal-1-1-branch \ /Users/lha/src/heimdal/git-trunk repro || exit 1 -# try incremental +echo "####incremental import of master -> trunk" ./git2svn \ --verbose \ --no-unlink \ /Users/lha/src/heimdal/git-trunk repro || exit 1 +echo "####test that repro looks ok at a glance" + +svn=file://`pwd`/repro + +svn ls $svn | grep trunk > /dev/null || exit 1 +svn ls $svn/branches | grep heimdal-1-1-branch > /dev/null || exit 1 + echo "all tests passed" + exit 0 -- 2.11.4.GIT