~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to gnulib-tests/test-update-copyright.sh

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
# Test suite for update-copyright.
3
 
# Copyright (C) 2009-2012 Free Software Foundation, Inc.
 
3
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
4
4
# This file is part of the GNUlib Library.
5
5
#
6
6
# This program is free software: you can redistribute it and/or modify
505
505
 /* Copyright 1987, 1988, 1991, 1992 Free Software Foundation, Inc. ***
506
506
    * End of comments. */
507
507
EOF
 
508
cat > $TMP.two-digit-final-is-substr-of-first <<EOF
 
509
 /* Copyright 1991, 99 Free Software Foundation, Inc. */
 
510
EOF
508
511
UPDATE_COPYRIGHT_YEAR=2010 \
509
512
  update-copyright $TMP.* 1> $TMP-stdout 2> $TMP-stderr
510
513
compare /dev/null $TMP-stdout || exit 1
536
539
    Inc. ***
537
540
    * End of comments. */
538
541
EOF
 
542
compare - $TMP.two-digit-final-is-substr-of-first <<EOF || exit 1
 
543
 /* Copyright 1991, 1999, 2010 Free Software Foundation, Inc. */
 
544
EOF
539
545
rm $TMP*
540
546
 
541
547
exit 0