This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] nptl: Add first-line description for barrier tests.


Committed as obvious (once one is reminded that this is a style
requirement for new files).  Adapted older barrier tests as well.

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.

commit 019bf21ca710faaf3fd365c8bb61e1607610057d
Author: Torvald Riegel <triegel@redhat.com>
Date:   Fri Jan 15 23:16:49 2016 +0100

    nptl: Add first-line description for barrier tests.

diff --git a/nptl/tst-barrier1.c b/nptl/tst-barrier1.c
index 08787fb..d5016c4 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 d793722..cc82fbf 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 1b9295d..7abfa51 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 d3d3209..81dbf84 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 b99bd00..d665681 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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]