about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2016-01-15 23:16:49 +0100
committerTorvald Riegel <triegel@redhat.com>2016-01-15 23:16:49 +0100
commit019bf21ca710faaf3fd365c8bb61e1607610057d (patch)
treea3370db95369f2e42d22aeccb30e53483af61351
parent12c3bb770dd3ea11215baf23b385dbf297a2a85c (diff)
downloadglibc-019bf21ca710faaf3fd365c8bb61e1607610057d.tar.gz
glibc-019bf21ca710faaf3fd365c8bb61e1607610057d.tar.xz
glibc-019bf21ca710faaf3fd365c8bb61e1607610057d.zip
nptl: Add first-line description for barrier tests.
-rw-r--r--ChangeLog8
-rw-r--r--nptl/tst-barrier1.c3
-rw-r--r--nptl/tst-barrier2.c3
-rw-r--r--nptl/tst-barrier3.c5
-rw-r--r--nptl/tst-barrier4.c4
-rw-r--r--nptl/tst-barrier5.c4
6 files changed, 18 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 13d8175bea..d85e92c0ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2016-01-15  Torvald Riegel  <triegel@redhat.com>
 
+	* nptl/tst-barrier1.c: Add description on first line.
+	* nptl/tst-barrier2.c: Likewise.
+	* nptl/tst-barrier3.c: Likewise.
+	* nptl/tst-barrier4.c: Likewise.
+	* nptl/tst-barrier5.c: Likewise.
+
+2016-01-15  Torvald Riegel  <triegel@redhat.com>
+
 	[BZ #18868]
 	* nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
 
diff --git a/nptl/tst-barrier1.c b/nptl/tst-barrier1.c
index 08787fbd48..d5016c49a3 100644
--- a/nptl/tst-barrier1.c
+++ b/nptl/tst-barrier1.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2016 Free Software Foundation, Inc.
+/* Tests barrier initialization.
+   Copyright (C) 2002-2016 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
diff --git a/nptl/tst-barrier2.c b/nptl/tst-barrier2.c
index d793722993..cc82fbfca6 100644
--- a/nptl/tst-barrier2.c
+++ b/nptl/tst-barrier2.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2016 Free Software Foundation, Inc.
+/* Tests process-shared barriers.
+   Copyright (C) 2002-2016 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
diff --git a/nptl/tst-barrier3.c b/nptl/tst-barrier3.c
index 1b9295dad4..7abfa510cf 100644
--- a/nptl/tst-barrier3.c
+++ b/nptl/tst-barrier3.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2016 Free Software Foundation, Inc.
+/* Test of POSIX barriers.
+   Copyright (C) 2002-2016 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -16,8 +17,6 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-/* Test of POSIX barriers.  */
-
 #include <pthread.h>
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/nptl/tst-barrier4.c b/nptl/tst-barrier4.c
index d3d32099f5..81dbf84824 100644
--- a/nptl/tst-barrier4.c
+++ b/nptl/tst-barrier4.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2004-2016 Free Software Foundation, Inc.
+/* This tests destruction of a barrier right after waiting on it.
+   Copyright (C) 2004-2016 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2004.
 
@@ -16,7 +17,6 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-/* This tests destruction of a barrier right after waiting on it.  */
 #include <errno.h>
 #include <pthread.h>
 #include <stdio.h>
diff --git a/nptl/tst-barrier5.c b/nptl/tst-barrier5.c
index b99bd00c5b..d665681356 100644
--- a/nptl/tst-barrier5.c
+++ b/nptl/tst-barrier5.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2004-2015 Free Software Foundation, Inc.
+/* This tests the barrier reset mechanism.
+   Copyright (C) 2004-2015 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
@@ -15,7 +16,6 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-/* This tests the barrier reset mechanism.  */
 #include <errno.h>
 #include <pthread.h>
 #include <stdio.h>