Last change
on this file since 1092 was
1092,
checked in by Peter Johansson, 13 years ago
|
fixes #445. tests are now performed in testSubDir/foo and each test has its own wc (and own svndigest cache) to work on.
|
-
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: config2_test.sh 1092 2010-06-12 23:50:18Z peter $ |
---|
3 | # |
---|
4 | # Copyright (C) 2009, 2010 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 | # validate that our own config file is valid |
---|
22 | |
---|
23 | # svndigest's config file is not shipped |
---|
24 | required=repo |
---|
25 | |
---|
26 | . ./init.sh || exit 1 |
---|
27 | set -e |
---|
28 | |
---|
29 | SVNDIGEST_run 0 -g --config-file $abs_top_srcdir/.svndigest/config || exit_fail |
---|
30 | |
---|
31 | cat > tmp_config <<EOF |
---|
32 | # |
---|
33 | [image] |
---|
34 | format = apple |
---|
35 | EOF |
---|
36 | |
---|
37 | SVNDIGEST_run 1 -g --config-file tmp_config |
---|
38 | grep 'unknown format.* apple' stderr || exit_fail |
---|
39 | |
---|
40 | exit_success |
---|
Note: See
TracBrowser
for help on using the repository browser.