965 |
09 Dec 09 |
peter |
#!/bin/sh |
965 |
09 Dec 09 |
peter |
# $Id$ |
965 |
09 Dec 09 |
peter |
3 |
# |
1532 |
05 Oct 12 |
peter |
# Copyright (C) 2009, 2010, 2012 Peter Johansson |
965 |
09 Dec 09 |
peter |
5 |
# |
965 |
09 Dec 09 |
peter |
# This file is part of svndigest, http://dev.thep.lu.se/svndigest |
965 |
09 Dec 09 |
peter |
7 |
# |
965 |
09 Dec 09 |
peter |
# svndigest is free software; you can redistribute it and/or modify it |
965 |
09 Dec 09 |
peter |
# under the terms of the GNU General Public License as published by |
965 |
09 Dec 09 |
peter |
# the Free Software Foundation; either version 3 of the License, or |
965 |
09 Dec 09 |
peter |
# (at your option) any later version. |
965 |
09 Dec 09 |
peter |
12 |
# |
965 |
09 Dec 09 |
peter |
# svndigest is distributed in the hope that it will be useful, but |
965 |
09 Dec 09 |
peter |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
965 |
09 Dec 09 |
peter |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
965 |
09 Dec 09 |
peter |
# General Public License for more details. |
965 |
09 Dec 09 |
peter |
17 |
# |
965 |
09 Dec 09 |
peter |
# You should have received a copy of the GNU General Public License |
965 |
09 Dec 09 |
peter |
# along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
965 |
09 Dec 09 |
peter |
20 |
|
965 |
09 Dec 09 |
peter |
# validate that our own config file is valid |
965 |
09 Dec 09 |
peter |
22 |
|
971 |
10 Dec 09 |
peter |
# svndigest's config file is not shipped |
971 |
10 Dec 09 |
peter |
24 |
required=repo |
965 |
09 Dec 09 |
peter |
25 |
|
1525 |
01 Oct 12 |
peter |
26 |
. test/init.sh || exit 99 |
965 |
09 Dec 09 |
peter |
27 |
set -e |
965 |
09 Dec 09 |
peter |
28 |
|
1092 |
12 Jun 10 |
peter |
29 |
SVNDIGEST_run 0 -g --config-file $abs_top_srcdir/.svndigest/config || exit_fail |
965 |
09 Dec 09 |
peter |
30 |
|
1015 |
09 Jan 10 |
peter |
31 |
cat > tmp_config <<EOF |
1015 |
09 Jan 10 |
peter |
32 |
# |
1015 |
09 Jan 10 |
peter |
33 |
[image] |
1015 |
09 Jan 10 |
peter |
34 |
format = apple |
1015 |
09 Jan 10 |
peter |
35 |
EOF |
1015 |
09 Jan 10 |
peter |
36 |
|
1092 |
12 Jun 10 |
peter |
37 |
SVNDIGEST_run 1 -g --config-file tmp_config |
1220 |
13 Oct 10 |
peter |
38 |
$GREP 'unknown format.* apple' stderr || exit_fail |
1092 |
12 Jun 10 |
peter |
39 |
|
965 |
09 Dec 09 |
peter |
40 |
exit_success |