1089 |
12 Jun 10 |
peter |
#!/bin/sh |
1089 |
12 Jun 10 |
peter |
# $Id$ |
1089 |
12 Jun 10 |
peter |
3 |
# |
1532 |
05 Oct 12 |
peter |
# Copyright (C) 2010, 2012 Peter Johansson |
1089 |
12 Jun 10 |
peter |
5 |
# |
1089 |
12 Jun 10 |
peter |
# This file is part of svndigest, http://dev.thep.lu.se/svndigest |
1089 |
12 Jun 10 |
peter |
7 |
# |
1089 |
12 Jun 10 |
peter |
# svndigest is free software; you can redistribute it and/or modify it |
1089 |
12 Jun 10 |
peter |
# under the terms of the GNU General Public License as published by |
1089 |
12 Jun 10 |
peter |
# the Free Software Foundation; either version 3 of the License, or |
1089 |
12 Jun 10 |
peter |
# (at your option) any later version. |
1089 |
12 Jun 10 |
peter |
12 |
# |
1089 |
12 Jun 10 |
peter |
# svndigest is distributed in the hope that it will be useful, but |
1089 |
12 Jun 10 |
peter |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
1089 |
12 Jun 10 |
peter |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1089 |
12 Jun 10 |
peter |
# General Public License for more details. |
1089 |
12 Jun 10 |
peter |
17 |
# |
1089 |
12 Jun 10 |
peter |
# You should have received a copy of the GNU General Public License |
1089 |
12 Jun 10 |
peter |
# along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
1089 |
12 Jun 10 |
peter |
20 |
|
1089 |
12 Jun 10 |
peter |
# test that we can use /dev/null as config file |
1089 |
12 Jun 10 |
peter |
22 |
|
1525 |
01 Oct 12 |
peter |
23 |
. test/init.sh || exit 99 |
1089 |
12 Jun 10 |
peter |
24 |
set -e |
1089 |
12 Jun 10 |
peter |
25 |
|
1091 |
12 Jun 10 |
peter |
26 |
test -e /dev/null || exit_skip |
1091 |
12 Jun 10 |
peter |
27 |
test -r /dev/null || exit_skip |
1092 |
12 Jun 10 |
peter |
28 |
SVNDIGEST_run 0 -g --config-file /dev/null |
1092 |
12 Jun 10 |
peter |
29 |
SVNDIGEST_run 1 -g --config-file . |
1220 |
13 Oct 10 |
peter |
30 |
$GREP 'is a directory' stderr || exit_fail |
1089 |
12 Jun 10 |
peter |
31 |
|
1089 |
12 Jun 10 |
peter |
32 |
exit_success |