source: trunk/test/test_repo.sh.in @ 748

Last change on this file since 748 was 748, checked in by Peter Johansson, 13 years ago
  • AC_SUBST have_test_repo
  • cleaned up code so it looks better in generated file test_repo.sh
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
RevLine 
[568]1#!@SHELL@
2# @configure_input@
3
[267]4# $Id: test_repo.sh.in 748 2009-01-09 22:23:49Z peter $
[246]5
[408]6# Copyright (C) 2007 Jari Häkkinen, Peter Johansson
[744]7# Copyright (C) 2008, 2009 Peter Johansson
[327]8#
[687]9# This file is part of svndigest, http://dev.thep.lu.se/svndigest
[327]10#
11# svndigest is free software; you can redistribute it and/or modify it
12# under the terms of the GNU General Public License as published by
[693]13# the Free Software Foundation; either version 3 of the License, or
[327]14# (at your option) any later version.
15#
16# svndigest is distributed in the hope that it will be useful, but
17# WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19# General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
[693]22# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
[327]23
[748]24abs_top_builddir=@abs_top_builddir@
25abs_builddir=@abs_builddir@
26rootdir=$abs_builddir/toy_project
27targetdir=$abs_builddir/generated_output
[246]28
[748]29test_repo_found=@test_repo_found@
30if test x$test_repo_found != xyes; then
[744]31    exit 77;
32fi
[568]33
[748]34cd $abs_builddir && @SHELL@ svn_update.sh || exit 1;
[744]35
[748]36@MKDIR_P@ $targetdir;
[246]37
[748]38$abs_top_builddir/bin/svndigest -r $rootdir -t $targetdir \
[539]39--ignore-cache --no-report $1;
40
[748]41$abs_top_builddir/bin/svndigest -r $rootdir -t $targetdir -f $1;
[539]42
Note: See TracBrowser for help on using the repository browser.