summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 00:51:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 00:53:16 +0200
commit3256110b8b488fde9cd74d5c3a8e5092dcd22921 (patch)
tree011a9ebddf9663ac417fcb3e5025781cfdd60679 /tests
parent40444d81636580c80d6000856cca6078ea41f85e (diff)
Add first-line comment to files lacking it
Diffstat (limited to 'tests')
-rw-r--r--tests/test-1.c2
-rw-r--r--tests/test-2.c1
-rw-r--r--tests/test-6.c2
-rw-r--r--tests/test-7.c2
-rw-r--r--tests/test-8.c2
5 files changed, 9 insertions, 0 deletions
diff --git a/tests/test-1.c b/tests/test-1.c
index 640a37f..e81dc5a 100644
--- a/tests/test-1.c
+++ b/tests/test-1.c
@@ -1,3 +1,5 @@
+/* Test mutexes. */
+
#define _GNU_SOURCE
#include <pthread.h>
diff --git a/tests/test-2.c b/tests/test-2.c
index 701462e..602469a 100644
--- a/tests/test-2.c
+++ b/tests/test-2.c
@@ -1,4 +1,5 @@
/* Test detachability. */
+
#define _GNU_SOURCE
#include <pthread.h>
diff --git a/tests/test-6.c b/tests/test-6.c
index fc0194e..1e08592 100644
--- a/tests/test-6.c
+++ b/tests/test-6.c
@@ -1,3 +1,5 @@
+/* Test barriers. */
+
#define _GNU_SOURCE
#include <pthread.h>
diff --git a/tests/test-7.c b/tests/test-7.c
index 18bae68..ed1b39b 100644
--- a/tests/test-7.c
+++ b/tests/test-7.c
@@ -1,3 +1,5 @@
+/* Test Thread-Specific Data. */
+
#define _GNU_SOURCE
#include <pthread.h>
diff --git a/tests/test-8.c b/tests/test-8.c
index 5fc51de..aec5e62 100644
--- a/tests/test-8.c
+++ b/tests/test-8.c
@@ -1,3 +1,5 @@
+/* Test pthread_once. */
+
#define _GNU_SOURCE
#include <pthread.h>