Ignore:
Timestamp:
Oct 16, 2007, 11:44:33 PM (15 years ago)
Author:
Peter Johansson
Message:

shaping up generation of shell script tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/test_repo.sh.in

    r439 r500  
     1#!@SHELL
    12# $Id$
    23
     
    2021# 02111-1307, USA.
    2122
    22 toy=$srcdir/toy_project;
    23 
    2423# test repository does not exist and need to be checked out
    25 if [ ! -d $toy ]; then
    26     repodir=`cd "$srcdir" && pwd`;
     24if [ ! -d @rootdir ]; then
     25    repodir=`cd "@srcdir" && pwd`;
    2726    repodir=$repodir"/repo/trunk";
    28     svn checkout file://$repodir $toy;
     27    svn checkout file://$repodir @rootdir;
    2928fi
    3029
    31 svn update $toy > /dev/null;
     30svn update @rootdir > /dev/null;
    3231
    33 if [ ! -d $targetdir ]; then
    34     mkdir $targetdir;
     32if [ ! -d @targetdir ]; then
     33    mkdir @targetdir;
    3534fi
    3635
    37 exec $top_builddir/bin/svndigest -r $toy -t $targetdir -f --copyright $1;
     36exec @top_builddir/bin/svndigest -r @rootdir -t @targetdir -f --copyright $1;
Note: See TracChangeset for help on using the changeset viewer.