Framework for stress testing of the SVN part. These tests are disabled because they take too long (~20 minutes on my machine). If you're interested in running the tests, please set the environment variable $PERL_REPOSITORY_APC_TESTSVN to 1.

The following pod sums up what we're doing:

1. Look if we have the two patches in the pair and the perl to build the source. Look if we have svn and svnadmin available. DONE

2. svnadmin create a repo DONE

3. check out the repo into a wc DONE

4. build the source DONE

5. mv the source to the wc DONE

6. check in the wc DONE

7. maybe we need to (cd ..; rm -rf test-wc) now and check it out again and then

8. perlpatch2svn the second patch DONE

9. invent some tests on the result DONE

10. rmtree DONE

E.g.:

08:01  svnadmin create perl-564-repo
08:01  svn co file:///`pwd`/perl-564-repo perl-564-wc
08:02  buildaperl --noconfigure @564
08:05  rsync -ax perl-p-5.004_59@564/ perl-564-wc/ 
08:05  cd perl-564-wc
08:05  svn add [A-z]*
08:06  svn ci -m blah
08:07  cd ..
08:08  svnadmin dump perl-564-repo >| perl-564-repo.dump
08:08  cd -
08:09  perl -S perlpatch2svn ../APC/5.004_60/diffs/565.gz