source: trunk/test/repo_test.sh @ 1256

Last change on this file since 1256 was 1256, checked in by Peter Johansson, 11 years ago

remove debug output, and let test check that there is messages sent to standard error.

  • 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 1256 2010-11-01 04:33:42Z 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. ./init.sh || exit 1
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.