summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 00:55:07 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 00:55:07 +0200
commitcf474e3806ae70f707b18293c0a842547b2d7364 (patch)
tree2f89b970bb54836a2ba46f9f96b0c67031d12f4b
parent3256110b8b488fde9cd74d5c3a8e5092dcd22921 (diff)
Add copyright notices where missing
-rw-r--r--tests/test-1.c18
-rw-r--r--tests/test-10.c18
-rw-r--r--tests/test-11.c18
-rw-r--r--tests/test-12.c18
-rw-r--r--tests/test-13.c18
-rw-r--r--tests/test-14.c18
-rw-r--r--tests/test-15.c18
-rw-r--r--tests/test-16.c18
-rw-r--r--tests/test-17.c18
-rw-r--r--tests/test-2.c18
-rw-r--r--tests/test-3.c18
-rw-r--r--tests/test-4.c18
-rw-r--r--tests/test-5.c18
-rw-r--r--tests/test-6.c18
-rw-r--r--tests/test-7.c18
-rw-r--r--tests/test-8.c18
-rw-r--r--tests/test-9.c18
-rw-r--r--tests/test-__pthread_destroy_specific-skip.c18
18 files changed, 306 insertions, 18 deletions
diff --git a/tests/test-1.c b/tests/test-1.c
index e81dc5a..25263ee 100644
--- a/tests/test-1.c
+++ b/tests/test-1.c
@@ -1,4 +1,20 @@
-/* Test mutexes. */
+/* Test mutexes.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-10.c b/tests/test-10.c
index bec05c1..31d3449 100644
--- a/tests/test-10.c
+++ b/tests/test-10.c
@@ -1,4 +1,20 @@
-/* Test error checking mutexes. */
+/* Test error checking mutexes.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-11.c b/tests/test-11.c
index 119b86d..f8c7a42 100644
--- a/tests/test-11.c
+++ b/tests/test-11.c
@@ -1,4 +1,20 @@
-/* Test rwlocks. */
+/* Test rwlocks.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-12.c b/tests/test-12.c
index 2b78490..9676446 100644
--- a/tests/test-12.c
+++ b/tests/test-12.c
@@ -1,4 +1,20 @@
-/* Test concurrency level. */
+/* Test concurrency level.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-13.c b/tests/test-13.c
index 292dd2d..d142149 100644
--- a/tests/test-13.c
+++ b/tests/test-13.c
@@ -1,4 +1,20 @@
-/* Test condition attributes and pthread_cond_timedwait. */
+/* Test condition attributes and pthread_cond_timedwait.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-14.c b/tests/test-14.c
index b1e4e4f..6e7cef1 100644
--- a/tests/test-14.c
+++ b/tests/test-14.c
@@ -1,4 +1,20 @@
-/* Test pthread_mutex_timedlock. */
+/* Test pthread_mutex_timedlock.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-15.c b/tests/test-15.c
index ae20f10..baf866a 100644
--- a/tests/test-15.c
+++ b/tests/test-15.c
@@ -1,4 +1,20 @@
-/* Test pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock. */
+/* Test pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-16.c b/tests/test-16.c
index 3660f5f..519aa84 100644
--- a/tests/test-16.c
+++ b/tests/test-16.c
@@ -1,4 +1,20 @@
-/* Test pthread_kill.c. */
+/* Test pthread_kill.c.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-17.c b/tests/test-17.c
index cfe755f..ffc90b5 100644
--- a/tests/test-17.c
+++ b/tests/test-17.c
@@ -1,5 +1,21 @@
/* Test that the key reuse inside libpthread does not cause thread
- specific values to persist. */
+ specific values to persist.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE 1
diff --git a/tests/test-2.c b/tests/test-2.c
index 602469a..1194a34 100644
--- a/tests/test-2.c
+++ b/tests/test-2.c
@@ -1,4 +1,20 @@
-/* Test detachability. */
+/* Test detachability.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-3.c b/tests/test-3.c
index 46369e0..beed473 100644
--- a/tests/test-3.c
+++ b/tests/test-3.c
@@ -1,4 +1,20 @@
-/* Test the thread attribute get and set methods. */
+/* Test the thread attribute get and set methods.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-4.c b/tests/test-4.c
index 0ae9271..b8c24b7 100644
--- a/tests/test-4.c
+++ b/tests/test-4.c
@@ -1,4 +1,20 @@
-/* Test the stack guard. */
+/* Test the stack guard.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-5.c b/tests/test-5.c
index f8dfa99..ef9691c 100644
--- a/tests/test-5.c
+++ b/tests/test-5.c
@@ -1,4 +1,20 @@
-/* Test signals. */
+/* Test signals.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-6.c b/tests/test-6.c
index 1e08592..e25d419 100644
--- a/tests/test-6.c
+++ b/tests/test-6.c
@@ -1,4 +1,20 @@
-/* Test barriers. */
+/* Test barriers.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-7.c b/tests/test-7.c
index ed1b39b..4823de2 100644
--- a/tests/test-7.c
+++ b/tests/test-7.c
@@ -1,4 +1,20 @@
-/* Test Thread-Specific Data. */
+/* Test Thread-Specific Data.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-8.c b/tests/test-8.c
index aec5e62..9cf74a7 100644
--- a/tests/test-8.c
+++ b/tests/test-8.c
@@ -1,4 +1,20 @@
-/* Test pthread_once. */
+/* Test pthread_once.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-9.c b/tests/test-9.c
index 2667ab6..ad6bc36 100644
--- a/tests/test-9.c
+++ b/tests/test-9.c
@@ -1,4 +1,20 @@
-/* Test recursive mutexes. */
+/* Test recursive mutexes.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE
diff --git a/tests/test-__pthread_destroy_specific-skip.c b/tests/test-__pthread_destroy_specific-skip.c
index 9451f8c..c54ccad 100644
--- a/tests/test-__pthread_destroy_specific-skip.c
+++ b/tests/test-__pthread_destroy_specific-skip.c
@@ -1,5 +1,21 @@
/* Check that __pthread_destroy_specific works correctly if it has to skip
- unused slots. */
+ unused slots.
+ Copyright (C) 2000-2018 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If
+ not, see <http://www.gnu.org/licenses/>. */
#define _GNU_SOURCE