source: branches/test-suite/test/test_repo.in @ 246

Last change on this file since 246 was 246, checked in by Peter Johansson, 16 years ago

the file and directory tests are obsolete and therefore removed if WCTEST is true test_repo.sh is created which runs svndigest on a the toy repository refs #125

File size: 403 bytes
Line 
1#$Id$
2
3toy=$srcdir/toy_project;
4
5# test repository does not exist and need to be checked out
6if [ ! -d $toy ]; then
7    repodir=`cd "$srcdir" && pwd`;
8    repodir=$repodir"/repo";
9    svn checkout file://$repodir $toy;
10fi
11
12# revert and update
13svn revert -R $toy/*;
14svn update $toy;
15
16if [ ! -d $targetdir ]; then
17    mkdir $targetdir;
18fi
19
20exec $top_builddir/bin/svndigest -r $toy -t $targetdir -vf --copyright;
Note: See TracBrowser for help on using the repository browser.