source: trunk/test/config_props_test.sh @ 1373

Last change on this file since 1373 was 1373, checked in by Peter Johansson, 10 years ago

merging patch release 0.9.2 into trunk

  • 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# $Id: config_props_test.sh 1373 2011-06-10 23:31:35Z peter $
3#
4# Copyright (C) 2011 Peter Johansson
5#
6# This file is part of svndigest, http://dev.thep.lu.se/svndigest
7#
8# svndigest is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 3 of the License, or
11# (at your option) any later version.
12#
13# svndigest is distributed in the hope that it will be useful, but
14# WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16# General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
20
21# testing that setting svn prop via config file works as expected (see
22# ticket #501)
23
24required="repo"
25
26. ./init.sh || exit 1
27set -e
28
29# create config file
30cat > config <<EOF
31[svn-props]
32lib = svndigest:ignore
33EOF
34
35SVNDIGEST_run 0 -r $rootdir --ignore-cache --no-report --config-file=config
36
37grep "$abs_wcdir/lib" stdout && exit_fail
38
39exit_success
Note: See TracBrowser for help on using the repository browser.