Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
nptl: Add first-line description for barrier tests.
  • Loading branch information
Torvald Riegel committed Jan 15, 2016
1 parent 12c3bb7 commit 019bf21
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
@@ -1,3 +1,11 @@
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]
Expand Down
3 changes: 2 additions & 1 deletion 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.
Expand Down
3 changes: 2 additions & 1 deletion 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.
Expand Down
5 changes: 2 additions & 3 deletions 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.
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions 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.
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions 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
Expand All @@ -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>
Expand Down

0 comments on commit 019bf21

Please sign in to comment.