1 | #!/bin/sh |
---|
2 | |
---|
3 | # $Id: repo_test.sh 1598 2015-08-26 15:11:38Z jari $ |
---|
4 | |
---|
5 | # Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson |
---|
6 | # Copyright (C) 2009, 2010, 2012 Peter Johansson |
---|
7 | # Copyright (C) 2015 Jari Häkkinen |
---|
8 | # |
---|
9 | # This file is part of svndigest, http://dev.thep.lu.se/svndigest |
---|
10 | # |
---|
11 | # svndigest is free software; you can redistribute it and/or modify it |
---|
12 | # under the terms of the GNU General Public License as published by |
---|
13 | # the Free Software Foundation; either version 3 of the License, or |
---|
14 | # (at your option) any later version. |
---|
15 | # |
---|
16 | # svndigest is distributed in the hope that it will be useful, but |
---|
17 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
19 | # General Public License for more details. |
---|
20 | # |
---|
21 | # You should have received a copy of the GNU General Public License |
---|
22 | # along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
---|
23 | |
---|
24 | required="repo" |
---|
25 | |
---|
26 | . test/init.sh || exit 99 |
---|
27 | |
---|
28 | targetdir=$abs_builddir/generated_output |
---|
29 | $mkdir_p $targetdir |
---|
30 | SVNDIGEST_run 0 -r $rootdir -t $targetdir --ignore-cache --no-report |
---|
31 | test -e stderr || exit_fail |
---|
32 | test -s stderr && exit_fail |
---|
33 | |
---|
34 | SVNDIGEST_run 0 -r $rootdir -t $targetdir --force |
---|
35 | # the below test typically fails with plplot 5.11.0 |
---|
36 | test -e stderr || exit_fail |
---|
37 | test -s stderr && exit_fail |
---|
38 | |
---|
39 | exit_success; |
---|