drop synctag
[git2svn.git] / run-tests.sh
blob74314a9d8f007fc83fae7c567952a64a53560c9a
1 #!/bin/sh
3 rm -rf repro
5 gitrepro=/Users/lha/src/heimdal/git-trunk
7 (cd $gitrepro && git tag -d git2svn-syncpoint-master)
9 echo "####full import of master -> trunk"
10 ./git2svn \
11 --verbose \
12 $gitrepro repro || exit 1
14 echo "####full import of branch -> branches/heimdal-1-1-branch"
15 ./git2svn \
16 --verbose \
17 --svn-prefix=branches/heimdal-1-1-branch \
18 --git-branch=heimdal-1-1-branch \
19 $gitrepro repro || exit 1
21 echo "####incremental import of master -> trunk"
22 ./git2svn \
23 --verbose \
24 $gitrepro repro || exit 1
26 echo "####test that repro looks ok at a glance"
28 svn=file://`pwd`/repro
30 svn ls $svn | grep trunk > /dev/null || exit 1
31 svn ls $svn/branches | grep heimdal-1-1-branch > /dev/null || exit 1
33 echo "####all tests passed"
35 exit 0