summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rwxr-xr-xtests/backref2
-rwxr-xr-xtests/backref-alt2
-rwxr-xr-xtests/backslash-s-and-repetition-operators2
-rwxr-xr-xtests/backslash-s-vs-invalid-multitype2
-rwxr-xr-xtests/bre2
-rw-r--r--tests/bre.awk2
-rwxr-xr-xtests/case-fold-titlecase2
-rwxr-xr-xtests/count-newline2
-rwxr-xr-xtests/dfa-coverage2
-rwxr-xr-xtests/dfa-heap-overrun2
-rwxr-xr-xtests/dfa-match2
-rw-r--r--tests/dfa-match-aux.c2
-rwxr-xr-xtests/empty2
-rwxr-xr-xtests/empty-line-mb2
-rwxr-xr-xtests/encoding-error2
-rwxr-xr-xtests/ere2
-rw-r--r--tests/ere.awk2
-rwxr-xr-xtests/file2
-rwxr-xr-xtests/fmbtest2
-rwxr-xr-xtests/foad12
-rw-r--r--tests/get-mb-cur-max.c2
-rwxr-xr-xtests/help-version2
-rwxr-xr-xtests/high-bit-range2
-rw-r--r--tests/init.sh4
-rwxr-xr-xtests/invalid-char-class2
-rwxr-xr-xtests/khadafy2
-rwxr-xr-xtests/kwset-abuse2
-rwxr-xr-xtests/long-pattern-perf2
-rwxr-xr-xtests/match-lines2
-rwxr-xr-xtests/mb-dot-newline2
-rwxr-xr-xtests/mb-non-UTF8-overrun2
-rwxr-xr-xtests/mb-non-UTF8-performance2
-rwxr-xr-xtests/multibyte-white-space2
-rwxr-xr-xtests/multiple-begin-or-end-line2
-rwxr-xr-xtests/null-byte2
-rwxr-xr-xtests/options2
-rwxr-xr-xtests/pcre2
-rwxr-xr-xtests/pcre-abort2
-rwxr-xr-xtests/pcre-count2
-rwxr-xr-xtests/pcre-infloop2
-rwxr-xr-xtests/pcre-invalid-utf8-infloop2
-rwxr-xr-xtests/pcre-invalid-utf8-input2
-rwxr-xr-xtests/pcre-jitstack2
-rwxr-xr-xtests/pcre-o2
-rwxr-xr-xtests/pcre-utf82
-rwxr-xr-xtests/pcre-w2
-rwxr-xr-xtests/pcre-wx-backref2
-rwxr-xr-xtests/posix-bracket2
-rwxr-xr-xtests/spencer12
-rwxr-xr-xtests/spencer1-locale2
-rw-r--r--tests/spencer1-locale.awk2
-rw-r--r--tests/spencer1.awk2
-rw-r--r--tests/spencer22
-rwxr-xr-xtests/status2
-rwxr-xr-xtests/surrogate-pair2
-rwxr-xr-xtests/symlink2
-rw-r--r--tests/tests2
-rwxr-xr-xtests/triple-backref2
-rwxr-xr-xtests/turkish-I2
-rwxr-xr-xtests/turkish-I-without-dot2
-rwxr-xr-xtests/turkish-eyes2
-rwxr-xr-xtests/two-files2
-rwxr-xr-xtests/unibyte-bracket-expr2
-rwxr-xr-xtests/unibyte-negated-circumflex2
-rwxr-xr-xtests/utf8-bracket2
-rwxr-xr-xtests/yesno2
67 files changed, 68 insertions, 68 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e8b11b5a..f349aa36 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,5 +1,5 @@
## Process this file with automake to create Makefile.in
-# Copyright 1997-1998, 2005-2015 Free Software Foundation, Inc.
+# Copyright 1997-1998, 2005-2016 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/backref b/tests/backref
index a52a5854..1d154345 100755
--- a/tests/backref
+++ b/tests/backref
@@ -1,7 +1,7 @@
#! /bin/sh
# Test for backreferences and other things.
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/backref-alt b/tests/backref-alt
index a58e4075..654b3450 100755
--- a/tests/backref-alt
+++ b/tests/backref-alt
@@ -1,7 +1,7 @@
#! /bin/sh
# Test for a bug in glibc's regex code as of 2015-09-19.
#
-# Copyright 2015 Free Software Foundation, Inc.
+# Copyright 2015-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/backslash-s-and-repetition-operators b/tests/backslash-s-and-repetition-operators
index bd9adf77..45a4b55c 100755
--- a/tests/backslash-s-and-repetition-operators
+++ b/tests/backslash-s-and-repetition-operators
@@ -1,7 +1,7 @@
#! /bin/sh
# Ensure that \s and \S work with repetition operators.
#
-# Copyright (C) 2013-2015 Free Software Foundation, Inc.
+# Copyright (C) 2013-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/backslash-s-vs-invalid-multitype b/tests/backslash-s-vs-invalid-multitype
index 5578233d..a77b6a5a 100755
--- a/tests/backslash-s-vs-invalid-multitype
+++ b/tests/backslash-s-vs-invalid-multitype
@@ -1,7 +1,7 @@
#! /bin/sh
# Ensure that neither \s nor \S matches an invalid multibyte character.
#
-# Copyright (C) 2013-2015 Free Software Foundation, Inc.
+# Copyright (C) 2013-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/bre b/tests/bre
index 571d4b9c..324d1987 100755
--- a/tests/bre
+++ b/tests/bre
@@ -1,7 +1,7 @@
#! /bin/sh
# Regression test for GNU grep.
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/bre.awk b/tests/bre.awk
index 6b57edb6..4f3e006e 100644
--- a/tests/bre.awk
+++ b/tests/bre.awk
@@ -1,4 +1,4 @@
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/case-fold-titlecase b/tests/case-fold-titlecase
index ebd14f13..57a4613c 100755
--- a/tests/case-fold-titlecase
+++ b/tests/case-fold-titlecase
@@ -1,7 +1,7 @@
#!/bin/sh
# Check that case folding works even with titlecase and similarly odd chars.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/count-newline b/tests/count-newline
index fd899610..b37b8ec9 100755
--- a/tests/count-newline
+++ b/tests/count-newline
@@ -2,7 +2,7 @@
# Test that newline is counted correctly even when the transition
# table is rebuilt.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/dfa-coverage b/tests/dfa-coverage
index e46a7270..ca8654f5 100755
--- a/tests/dfa-coverage
+++ b/tests/dfa-coverage
@@ -1,7 +1,7 @@
#!/bin/sh
# Exercise the final reachable code in dfa.c's match_mb_charset.
-# Copyright (C) 2012-2015 Free Software Foundation, Inc.
+# Copyright (C) 2012-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/dfa-heap-overrun b/tests/dfa-heap-overrun
index 481bf948..874dea2d 100755
--- a/tests/dfa-heap-overrun
+++ b/tests/dfa-heap-overrun
@@ -1,7 +1,7 @@
#!/bin/sh
# Trigger a heap overrun in grep-2.6..grep-2.8.
-# Copyright (C) 2011-2015 Free Software Foundation, Inc.
+# Copyright (C) 2011-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/dfa-match b/tests/dfa-match
index a996e36d..373c83c0 100755
--- a/tests/dfa-match
+++ b/tests/dfa-match
@@ -1,7 +1,7 @@
#!/bin/sh
# This would fail for grep-2.21.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/dfa-match-aux.c b/tests/dfa-match-aux.c
index 87cb4a91..af933ff9 100644
--- a/tests/dfa-match-aux.c
+++ b/tests/dfa-match-aux.c
@@ -1,6 +1,6 @@
/* Auxiliary program to test a DFA code path that cannot be triggered
by grep or gawk.
- Copyright 2014-2015 Free Software Foundation, Inc.
+ Copyright 2014-2016 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/tests/empty b/tests/empty
index a9fae0be..2b5ecf28 100755
--- a/tests/empty
+++ b/tests/empty
@@ -2,7 +2,7 @@
# test that the empty file means no pattern
# and an empty pattern means match all.
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/empty-line-mb b/tests/empty-line-mb
index 709c5d2f..605ecf9d 100755
--- a/tests/empty-line-mb
+++ b/tests/empty-line-mb
@@ -1,7 +1,7 @@
#! /bin/sh
# Exercise bugs in grep-2.13 with -i, -n and an RE of ^$ in a multi-byte locale.
#
-# Copyright (C) 2012-2015 Free Software Foundation, Inc.
+# Copyright (C) 2012-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/encoding-error b/tests/encoding-error
index fe52de28..2f09c216 100755
--- a/tests/encoding-error
+++ b/tests/encoding-error
@@ -1,7 +1,7 @@
#! /bin/sh
# Test grep's behavior on encoding errors.
#
-# Copyright 2015 Free Software Foundation, Inc.
+# Copyright 2015-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/ere b/tests/ere
index 45d3e223..68d15333 100755
--- a/tests/ere
+++ b/tests/ere
@@ -1,7 +1,7 @@
#! /bin/sh
# Regression test for GNU grep.
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/ere.awk b/tests/ere.awk
index 5d987dbc..9ffc9f6b 100644
--- a/tests/ere.awk
+++ b/tests/ere.awk
@@ -1,4 +1,4 @@
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/file b/tests/file
index 57298472..11de7e47 100755
--- a/tests/file
+++ b/tests/file
@@ -4,7 +4,7 @@
# grep -F -f pattern_file file
# grep -G -f pattern_file file
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/fmbtest b/tests/fmbtest
index 75b4b582..6f60f03b 100755
--- a/tests/fmbtest
+++ b/tests/fmbtest
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/foad1 b/tests/foad1
index a8dbadda..94173819 100755
--- a/tests/foad1
+++ b/tests/foad1
@@ -1,7 +1,7 @@
#! /bin/sh
# Test various combinations of command-line options.
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/get-mb-cur-max.c b/tests/get-mb-cur-max.c
index 777110aa..403beb42 100644
--- a/tests/get-mb-cur-max.c
+++ b/tests/get-mb-cur-max.c
@@ -1,5 +1,5 @@
/* Auxiliary program to detect support for a locale.
- Copyright 2010-2015 Free Software Foundation, Inc.
+ Copyright 2010-2016 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/tests/help-version b/tests/help-version
index 8781529e..59ecaeb4 100755
--- a/tests/help-version
+++ b/tests/help-version
@@ -2,7 +2,7 @@
# Make sure all these programs work properly
# when invoked with --help or --version.
-# Copyright (C) 2000-2015 Free Software Foundation, Inc.
+# Copyright (C) 2000-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/high-bit-range b/tests/high-bit-range
index 0a3a7d84..e414c93a 100755
--- a/tests/high-bit-range
+++ b/tests/high-bit-range
@@ -1,7 +1,7 @@
#!/bin/sh
# Exercise high-bit-set unibyte-in-[...]-range bug.
-# Copyright (C) 2011-2015 Free Software Foundation, Inc.
+# Copyright (C) 2011-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/init.sh b/tests/init.sh
index d3662061..ee080224 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -1,6 +1,6 @@
# source this file; set up for tests
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -327,7 +327,7 @@ elif diff_out_=`exec 2>/dev/null; diff -c "$0" "$0" < /dev/null`; then
fi
}
fi
-elif ( cmp --version < /dev/null 2>&1 | grep GNU ) > /dev/null 2>&1; then
+elif cmp -s /dev/null /dev/null 2>/dev/null; then
compare_ () { cmp -s "$@"; }
else
compare_ () { cmp "$@"; }
diff --git a/tests/invalid-char-class b/tests/invalid-char-class
index 5060b503..24173611 100755
--- a/tests/invalid-char-class
+++ b/tests/invalid-char-class
@@ -1,7 +1,7 @@
#!/bin/sh
# This use of our DFA-testing helper would fail for grep-2.21.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/khadafy b/tests/khadafy
index e8142dd3..73ee1c76 100755
--- a/tests/khadafy
+++ b/tests/khadafy
@@ -1,7 +1,7 @@
#! /bin/sh
# Regression test for GNU grep.
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/kwset-abuse b/tests/kwset-abuse
index 6d8ec0c7..84e9416f 100755
--- a/tests/kwset-abuse
+++ b/tests/kwset-abuse
@@ -2,7 +2,7 @@
# Evoke a segfault in a hard-to-reach code path of kwset.c.
# This bug affected grep versions 2.19 through 2.21.
#
-# Copyright (C) 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2016 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/long-pattern-perf b/tests/long-pattern-perf
index 2c9d0803..b88c03c5 100755
--- a/tests/long-pattern-perf
+++ b/tests/long-pattern-perf
@@ -1,7 +1,7 @@
#!/bin/sh
# grep-2.21 would incur a 100x penalty for 10x increase in regexp length
-# Copyright 2015 Free Software Foundation, Inc.
+# Copyright 2015-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/match-lines b/tests/match-lines
index bf378dd3..7e1f291b 100755
--- a/tests/match-lines
+++ b/tests/match-lines
@@ -3,7 +3,7 @@
# grep -F -x -o PAT print an extra newline for each match.
# This would fail for grep-2.19 and grep-2.20.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/mb-dot-newline b/tests/mb-dot-newline
index ea78ba46..9e3db153 100755
--- a/tests/mb-dot-newline
+++ b/tests/mb-dot-newline
@@ -2,7 +2,7 @@
# Trigger a bug in the DFA matcher.
# This would fail for grep-2.20.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/mb-non-UTF8-overrun b/tests/mb-non-UTF8-overrun
index 9e6c30a5..69335d3e 100755
--- a/tests/mb-non-UTF8-overrun
+++ b/tests/mb-non-UTF8-overrun
@@ -2,7 +2,7 @@
# grep would sometimes read beyond end of input, when using a non-UTF8
# multibyte locale.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/mb-non-UTF8-performance b/tests/mb-non-UTF8-performance
index 9bd5d395..e8433d8e 100755
--- a/tests/mb-non-UTF8-performance
+++ b/tests/mb-non-UTF8-performance
@@ -3,7 +3,7 @@
# The 200x is on an Intel i7-based system.
# On an AMD FX-4100, it would take up to 2500x longer.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/multibyte-white-space b/tests/multibyte-white-space
index 04c734a7..c2a493b1 100755
--- a/tests/multibyte-white-space
+++ b/tests/multibyte-white-space
@@ -1,7 +1,7 @@
#! /bin/sh
# Test whether \s matches SP and UTF-8 multi-byte white space characters.
#
-# Copyright (C) 2013-2015 Free Software Foundation, Inc.
+# Copyright (C) 2013-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/multiple-begin-or-end-line b/tests/multiple-begin-or-end-line
index 550392a6..ec6da30d 100755
--- a/tests/multiple-begin-or-end-line
+++ b/tests/multiple-begin-or-end-line
@@ -2,7 +2,7 @@
# Test a pattern of multiple begin or end line constraints.
# This would mistakenly print a line when using grep-2.19.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/null-byte b/tests/null-byte
index 24196677..44dad923 100755
--- a/tests/null-byte
+++ b/tests/null-byte
@@ -1,7 +1,7 @@
#!/bin/sh
# Test NUL bytes in patterns and data.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/options b/tests/options
index 249e20c2..97d2a030 100755
--- a/tests/options
+++ b/tests/options
@@ -1,7 +1,7 @@
#! /bin/sh
# Test for POSIX options for grep
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre b/tests/pcre
index e7647fe2..a9dfb4b9 100755
--- a/tests/pcre
+++ b/tests/pcre
@@ -1,7 +1,7 @@
#! /bin/sh
# Ensure that with -P, \s matches a newline.
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre-abort b/tests/pcre-abort
index 379bba4a..5e9fdf2f 100755
--- a/tests/pcre-abort
+++ b/tests/pcre-abort
@@ -2,7 +2,7 @@
# Show that grep handles PCRE's PCRE_ERROR_MATCHLIMIT.
# In grep-2.8, it would abort.
#
-# Copyright (C) 2011-2015 Free Software Foundation, Inc.
+# Copyright (C) 2011-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre-count b/tests/pcre-count
index 78e1c7cc..24afa175 100755
--- a/tests/pcre-count
+++ b/tests/pcre-count
@@ -2,7 +2,7 @@
# grep -P / grep -Pc are inconsistent results
# This bug affected grep versions 2.21 through 2.22.
#
-# Copyright (C) 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre-infloop b/tests/pcre-infloop
index e845163b..2f93e703 100755
--- a/tests/pcre-infloop
+++ b/tests/pcre-infloop
@@ -2,7 +2,7 @@
# With some versions of libpcre, apparently including 8.35,
# the following would trigger an infinite loop in its match function.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/pcre-invalid-utf8-infloop b/tests/pcre-invalid-utf8-infloop
index 2b696b42..e96f1f5a 100755
--- a/tests/pcre-invalid-utf8-infloop
+++ b/tests/pcre-invalid-utf8-infloop
@@ -1,7 +1,7 @@
#! /bin/sh
# Ensure that grep -oaP doesn't infloop for invalid multi-byte input
#
-# Copyright (C) 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre-invalid-utf8-input b/tests/pcre-invalid-utf8-input
index dd9a18b0..fec23aef 100755
--- a/tests/pcre-invalid-utf8-input
+++ b/tests/pcre-invalid-utf8-input
@@ -1,7 +1,7 @@
#! /bin/sh
# Ensure that grep -P doesn't abort for invalid multi-byte input
#
-# Copyright (C) 2013-2015 Free Software Foundation, Inc.
+# Copyright (C) 2013-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre-jitstack b/tests/pcre-jitstack
index d9a56158..bdae37bd 100755
--- a/tests/pcre-jitstack
+++ b/tests/pcre-jitstack
@@ -1,7 +1,7 @@
#! /bin/sh
# Grep 2.21 would report "grep: internal PCRE error: -27"
#
-# Copyright 2015 Free Software Foundation, Inc.
+# Copyright 2015-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre-o b/tests/pcre-o
index 817e71a7..7c46f276 100755
--- a/tests/pcre-o
+++ b/tests/pcre-o
@@ -1,7 +1,7 @@
#! /bin/sh
# Ensure that grep -oP doesn't cause internal error at match.
#
-# Copyright (C) 2014-2015 Free Software Foundation, Inc.
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre-utf8 b/tests/pcre-utf8
index f32ed1ca..a29b4127 100755
--- a/tests/pcre-utf8
+++ b/tests/pcre-utf8
@@ -1,7 +1,7 @@
#! /bin/sh
# Ensure that, with -P, Unicode \p{} symbols are correctly matched.
#
-# Copyright (C) 2012-2015 Free Software Foundation, Inc.
+# Copyright (C) 2012-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre-w b/tests/pcre-w
index d0906fed..2c91e909 100755
--- a/tests/pcre-w
+++ b/tests/pcre-w
@@ -1,7 +1,7 @@
#! /bin/sh
# Before grep-2.19, grep -Pw %% would match %% enclosed in word boundaries
#
-# Copyright (C) 2014-2015 Free Software Foundation, Inc.
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/pcre-wx-backref b/tests/pcre-wx-backref
index 515f93c9..907c858e 100755
--- a/tests/pcre-wx-backref
+++ b/tests/pcre-wx-backref
@@ -1,7 +1,7 @@
#! /bin/sh
# Before grep-2.19, grep -P and -w/-x would not with a backreference.
#
-# Copyright (C) 2014-2015 Free Software Foundation, Inc.
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/posix-bracket b/tests/posix-bracket
index 840e53e7..bca43039 100755
--- a/tests/posix-bracket
+++ b/tests/posix-bracket
@@ -1,7 +1,7 @@
#!/bin/sh
# Check various bracket expressions in the POSIX locale.
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/spencer1 b/tests/spencer1
index 4db7c36e..65503d3a 100755
--- a/tests/spencer1
+++ b/tests/spencer1
@@ -1,7 +1,7 @@
#! /bin/sh
# Regression test for GNU grep.
# Copyright (C) 1988 Henry Spencer.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/spencer1-locale b/tests/spencer1-locale
index 4bcf273a..3f202d8c 100755
--- a/tests/spencer1-locale
+++ b/tests/spencer1-locale
@@ -2,7 +2,7 @@
# Regression test for GNU grep.
#
# Copyright (C) 1988 Henry Spencer.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/spencer1-locale.awk b/tests/spencer1-locale.awk
index 485857fc..bc92ecf0 100644
--- a/tests/spencer1-locale.awk
+++ b/tests/spencer1-locale.awk
@@ -1,5 +1,5 @@
# Copyright (C) 1988 Henry Spencer.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/spencer1.awk b/tests/spencer1.awk
index 73677613..aff38f93 100644
--- a/tests/spencer1.awk
+++ b/tests/spencer1.awk
@@ -1,5 +1,5 @@
# Copyright (C) 1988 Henry Spencer.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/spencer2 b/tests/spencer2
index 880b61d1..c31a3937 100644
--- a/tests/spencer2
+++ b/tests/spencer2
@@ -2,7 +2,7 @@
# Regression test for GNU grep.
#
# Copyright (C) 1988 Henry Spencer.
-# Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/status b/tests/status
index 976dd182..9de98dff 100755
--- a/tests/status
+++ b/tests/status
@@ -5,7 +5,7 @@
# 1 no match
# 2 file not found
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/surrogate-pair b/tests/surrogate-pair
index f0a11df4..93eeb5a6 100755
--- a/tests/surrogate-pair
+++ b/tests/surrogate-pair
@@ -1,7 +1,7 @@
#!/bin/sh
# Trigger a segfault-inducing bug with -i in grep-2.14 on Cygwin.
-# Copyright (C) 2013-2015 Free Software Foundation, Inc.
+# Copyright (C) 2013-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/symlink b/tests/symlink
index 4e159ce0..a915bbe5 100755
--- a/tests/symlink
+++ b/tests/symlink
@@ -1,7 +1,7 @@
#!/bin/sh
# Check that "grep -r" does the right thing with symbolic links.
-# Copyright (C) 2012-2015 Free Software Foundation, Inc.
+# Copyright (C) 2012-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/tests b/tests/tests
index 641c0fab..d59b974d 100644
--- a/tests/tests
+++ b/tests/tests
@@ -1,6 +1,6 @@
# regular expression test set
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/triple-backref b/tests/triple-backref
index 035c576a..3d36c05f 100755
--- a/tests/triple-backref
+++ b/tests/triple-backref
@@ -1,7 +1,7 @@
#! /bin/sh
# Test for a bug in glibc's regex code as of September 7, 2014.
#
-# Copyright (C) 2014-2015 Free Software Foundation, Inc.
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/turkish-I b/tests/turkish-I
index 3bc8642a..43becea6 100755
--- a/tests/turkish-I
+++ b/tests/turkish-I
@@ -1,7 +1,7 @@
#!/bin/sh
# grep -i in UTF-8: missing NL in output on line containing I WITH DOT (U+0130)
-# Copyright (C) 2011-2015 Free Software Foundation, Inc.
+# Copyright (C) 2011-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/turkish-I-without-dot b/tests/turkish-I-without-dot
index b94de358..69215de2 100755
--- a/tests/turkish-I-without-dot
+++ b/tests/turkish-I-without-dot
@@ -3,7 +3,7 @@
# (like "I" in the tr_TR.utf8 locale) whose lower-case representation
# occupies more bytes (two in this case, for 0xc4b1, aka U+0131).
-# Copyright (C) 2011-2015 Free Software Foundation, Inc.
+# Copyright (C) 2011-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/turkish-eyes b/tests/turkish-eyes
index d13abd62..b57df8ec 100755
--- a/tests/turkish-eyes
+++ b/tests/turkish-eyes
@@ -1,7 +1,7 @@
#!/bin/sh
# Ensure that case-insensitive matching works with all Turkish i's
-# Copyright (C) 2014-2015 Free Software Foundation, Inc.
+# Copyright (C) 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/two-files b/tests/two-files
index d655e56b..1b52e3f5 100755
--- a/tests/two-files
+++ b/tests/two-files
@@ -2,7 +2,7 @@
# Read two files, of increasing size.
# With ASAN, this would have triggered a false-positive read of poisoned memory.
#
-# Copyright 2015 Free Software Foundation, Inc.
+# Copyright 2015-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
diff --git a/tests/unibyte-bracket-expr b/tests/unibyte-bracket-expr
index 11a13642..68c475ce 100755
--- a/tests/unibyte-bracket-expr
+++ b/tests/unibyte-bracket-expr
@@ -5,7 +5,7 @@
# ru_RU.KOI8-R for any C whose wide-char representation differed from
# its single-byte equivalent.
-# Copyright (C) 2011-2015 Free Software Foundation, Inc.
+# Copyright (C) 2011-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/unibyte-negated-circumflex b/tests/unibyte-negated-circumflex
index a54a149f..03e448a1 100755
--- a/tests/unibyte-negated-circumflex
+++ b/tests/unibyte-negated-circumflex
@@ -1,7 +1,7 @@
#!/bin/sh
# Exercise a bug where [^^-^] was treated as if it were [^-^].
-# Copyright 2014-2015 Free Software Foundation, Inc.
+# Copyright 2014-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/utf8-bracket b/tests/utf8-bracket
index b63afbb8..e85877c7 100755
--- a/tests/utf8-bracket
+++ b/tests/utf8-bracket
@@ -1,7 +1,7 @@
#!/bin/sh
# Check bracket expressions in a UTF-8 locale.
-# Copyright 2015 Free Software Foundation, Inc.
+# Copyright 2015-2016 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/yesno b/tests/yesno
index 2fd0ea00..fd8d4ec2 100755
--- a/tests/yesno
+++ b/tests/yesno
@@ -1,7 +1,7 @@
#! /bin/sh
# Test feature interaction of -C, -v, -o, and -m.
#
-# Copyright (C) 2001, 2006, 2009-2015 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2006, 2009-2016 Free Software Foundation, Inc.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright