source: trunk/test/repo_test.sh @ 1525

Last change on this file since 1525 was 1525, checked in by Peter Johansson, 9 years ago

replace recursive Makefile with one single Makefile. Keeping multiple Makefile.ams which are included into main Makefile.am.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[953]1#!/bin/sh
[568]2
[267]3# $Id: repo_test.sh 1525 2012-10-01 06:31:07Z peter $
[246]4
[978]5# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
[1090]6# Copyright (C) 2009, 2010 Peter Johansson
[327]7#
[687]8# This file is part of svndigest, http://dev.thep.lu.se/svndigest
[327]9#
10# svndigest is free software; you can redistribute it and/or modify it
11# under the terms of the GNU General Public License as published by
[693]12# the Free Software Foundation; either version 3 of the License, or
[327]13# (at your option) any later version.
14#
15# svndigest is distributed in the hope that it will be useful, but
16# WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18# General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
[693]21# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
[327]22
[952]23required="repo"
[246]24
[1525]25. test/init.sh || exit 99
[568]26
[1093]27targetdir=$abs_builddir/generated_output
[1022]28$mkdir_p $targetdir
[1092]29SVNDIGEST_run 0 -r $rootdir -t $targetdir --ignore-cache --no-report
[1256]30test -e stderr || exit_fail
31test -s stderr && exit_fail
[822]32
[1092]33SVNDIGEST_run 0 -r $rootdir -t $targetdir --force
[1256]34test -e stderr || exit_fail
35test -s stderr && exit_fail
[744]36
[952]37exit_success;
Note: See TracBrowser for help on using the repository browser.