projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'unistr/u8-mbtoucr'.
[gnulib.git]
/
tests
/
test-update-copyright.sh
diff --git
a/tests/test-update-copyright.sh
b/tests/test-update-copyright.sh
index
859c75d
..
2d1022a
100755
(executable)
--- a/
tests/test-update-copyright.sh
+++ b/
tests/test-update-copyright.sh
@@
-1,6
+1,6
@@
#!/bin/sh
# Test suite for update-copyright.
#!/bin/sh
# Test suite for update-copyright.
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009
-2010
Free Software Foundation, Inc.
# This file is part of the GNUlib Library.
#
# This program is free software: you can redistribute it and/or modify
# This file is part of the GNUlib Library.
#
# This program is free software: you can redistribute it and/or modify
@@
-47,6
+47,10
@@
echo a > $TMP-in
exit 77
}
exit 77
}
+# Do not let a different envvar setting perturb results.
+UPDATE_COPYRIGHT_MAX_LINE_LENGTH=72
+export UPDATE_COPYRIGHT_MAX_LINE_LENGTH
+
## ----------------------------- ##
## Examples from documentation. ##
## ----------------------------- ##
## ----------------------------- ##
## Examples from documentation. ##
## ----------------------------- ##
@@
-223,7
+227,7
@@
rm $TMP*
## -------------- ##
TMP=$TMP_BASE-current-year
## -------------- ##
TMP=$TMP_BASE-current-year
-YEAR=`
/usr/bin/perl -e 'print [localtime]->[5] + 1900'`;
+YEAR=`
date +%Y`
cat > $TMP <<EOF
'\" Copyright (C) 2006
'\" Free Software Foundation,
cat > $TMP <<EOF
'\" Copyright (C) 2006
'\" Free Software Foundation,