Ignore:
Timestamp:
Dec 3, 2009, 3:53:30 AM (12 years ago)
Author:
Peter Johansson
Message:

fixes #415

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/0.7-stable/test/copyright_test2.sh.in

    r932 r933  
    2424abs_top_builddir=@abs_top_builddir@
    2525abs_builddir=@abs_builddir@
    26 rootdir=$abs_builddir/toy_project
    27 targetdir=$abs_builddir/generated_output
     26# this test has its own wc since it modifies wc
     27rootdir=$abs_builddir/.toy_project2
     28repo="@abs_test_repo@";
    2829
    2930test_repo_found=@test_repo_found@
     
    4546fi
    4647
    47 cd $abs_builddir && @SHELL@ svn_update.sh || exit 1;
     48# exit if cmd fails
     49set -e
    4850
    49 @MKDIR_P@ $targetdir;
     51rm -rf $rootdir
     52svn co file://$repo/trunk $rootdir -r 45
     53svn update $rootdir/lib
     54# cannot use old config file because it's invalid
     55svn update $rootdir/.svndigest
    5056
    51 $abs_top_builddir/bin/svndigest -r $rootdir -t $targetdir \
    52 --ignore-cache --no-report --verbose;
     57$abs_top_builddir/bin/svndigest -r $rootdir --copyright \
     58--ignore-cache --no-report --verbose 
    5359
    54 $abs_top_builddir/bin/svndigest -r $rootdir -t $targetdir -vf;
     60# remove wc to avoid someone being tempted to modify it
     61rm -rf $rootdir
Note: See TracChangeset for help on using the changeset viewer.