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
Line 
1#!/bin/sh
2
3# $Id: repo_test.sh 1525 2012-10-01 06:31:07Z peter $
4
5# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
6# Copyright (C) 2009, 2010 Peter Johansson
7#
8# This file is part of svndigest, http://dev.thep.lu.se/svndigest
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
12# the Free Software Foundation; either version 3 of the License, or
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
21# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
22
23required="repo"
24
25. test/init.sh || exit 99
26
27targetdir=$abs_builddir/generated_output
28$mkdir_p $targetdir
29SVNDIGEST_run 0 -r $rootdir -t $targetdir --ignore-cache --no-report
30test -e stderr || exit_fail
31test -s stderr && exit_fail
32
33SVNDIGEST_run 0 -r $rootdir -t $targetdir --force
34test -e stderr || exit_fail
35test -s stderr && exit_fail
36
37exit_success;
Note: See TracBrowser for help on using the repository browser.