Upgrading to GitLab 11.10.0. Expect errors and see debian-infrastructure-announce@lists.debian.org for further information.

Commit bfd9ba2d authored by Javier Merino Cacho's avatar Javier Merino Cacho

Add autopkgtest

parent 36cf2bed
hgsubversion (1.6.3-2) UNRELEASED; urgency=medium
* Add autopkgtest
-- Javi Merino <vicho@debian.org> Tue, 26 Aug 2014 13:10:31 -0700
hgsubversion (1.6.3-1) unstable; urgency=medium
* New upstream release
......@@ -14,6 +14,7 @@ Standards-Version: 3.9.5
Homepage: http://bitbucket.org/durin42/hgsubversion
Vcs-Svn: svn://anonscm.debian.org/collab-maint/deb-maint/hgsubversion/trunk
Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/hgsubversion/trunk
XS-Testsuite: autopkgtest
Package: hgsubversion
Architecture: all
Tests: hgsubversion
Depends: @
set -e
SVN_ROOT=$(mktemp --tmpdir -d hgsubversion.XXXXX)
mkdir -p $SVN_ROOT
# Create a local svn server with an empty repo
svnadmin create $SVN_ROOT/celesteville
cat > $SVN_ROOT/celesteville/conf/svnserve.conf << EOF
anon-access = write
svnserve -d --pid-file $PID_FILE -r $SVN_ROOT
# Put some content in the repository
svn co svn://
cd celesteville
mkdir trunk tags branches
svn add trunk tags branches
svn commit -m "Initial commit"
echo Cornelius > trunk/people
svn add trunk/people
svn commit -m "Add people"
cd ..
rm -r celesteville
# Now test hgsubversion
hg --config extensions.hgsubversion= clone svn://
cd celesteville
echo Arthur >> people
hg commit -u "Babar <babar@jungle.org>" -m "Add more people"
hg --config extensions.hgsubversion= push
cd ..
# Kill the server and cleanup
kill $(cat $PID_FILE)
rm -r $SVN_ROOT
rm -r celesteville
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment