source: trunk/test/copyright2_test.sh @ 1087

Last change on this file since 1087 was 978, checked in by Peter Johansson, 12 years ago

refs #429. Convert copyright statements to UTF-8

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1#!/bin/sh
2
3# $Id: copyright2_test.sh 978 2009-12-12 20:09:41Z peter $
4
5# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
6# Copyright (C) 2009 Peter Johansson
7#
8# This file is part of svndigest, http://dev.thep.lu.se/svndigest
9#
10# svndigest is free software; you can redistribute it and/or modify it
11# under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 3 of the License, or
13# (at your option) any later version.
14#
15# svndigest is distributed in the hope that it will be useful, but
16# WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18# General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
22
23required="repo"
24
25. ./init.sh || exit 1
26
27# exit if cmd fails
28set -e
29
30# this test has its own wc since it modifies wc
31rootdir=$abs_builddir/.toy_project2
32
33rm -rf $rootdir
34$SVN co ${repo_url}/trunk $rootdir -r 45
35$SVN update $rootdir/lib
36# cannot use old config file because it's invalid
37$SVN update $rootdir/.svndigest
38
39$SVNDIGEST -r $rootdir --copyright --ignore-cache --no-report || exit_fail
40
41# remove wc to avoid someone being tempted to modify it
42rm -rf $rootdir
43
44exit_success;
Note: See TracBrowser for help on using the repository browser.