This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[committed] nptl: Add first-line description for barrier tests.
- From: Torvald Riegel <triegel at redhat dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, GLIBC Devel <libc-alpha at sourceware dot org>, David Miller <davem at davemloft dot net>
- Date: Fri, 15 Jan 2016 23:20:19 +0100
- Subject: [committed] nptl: Add first-line description for barrier tests.
- Authentication-results: sourceware.org; auth=none
- References: <1452723168 dot 26597 dot 345 dot camel at localhost dot localdomain> <5697FF70 dot 2090502 at linaro dot org> <1452892125 dot 26597 dot 376 dot camel at localhost dot localdomain> <20160115212254 dot 3EA822C3C07 at topped-with-meat dot com>
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>