summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-06-16 23:06:54 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-06-16 23:06:54 +0000
commit26aab9cff53e7caaef5832957474b8e6bb344f84 (patch)
tree4b9390d1d8cea49af65ca8b9174800f096793ff8 /regress/lib
parentbab578a547503e48a45e1c4ce243104a9cfa3e6d (diff)
write newline before successful test completion
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libc_r/signal/signal.c3
-rw-r--r--regress/lib/libc_r/sleep/sleep.c3
-rw-r--r--regress/lib/libc_r/switch/switch.c3
-rw-r--r--regress/lib/libpthread/signal/signal.c3
-rw-r--r--regress/lib/libpthread/sleep/sleep.c3
-rw-r--r--regress/lib/libpthread/switch/switch.c3
6 files changed, 12 insertions, 6 deletions
diff --git a/regress/lib/libc_r/signal/signal.c b/regress/lib/libc_r/signal/signal.c
index 2d79cf2e08a..815052db03d 100644
--- a/regress/lib/libc_r/signal/signal.c
+++ b/regress/lib/libc_r/signal/signal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.c,v 1.3 2001/11/11 23:26:35 deraadt Exp $ */
+/* $OpenBSD: signal.c,v 1.4 2002/06/16 23:06:15 marc Exp $ */
/* David Leonard <d@openbsd.org>, 2001. Public Domain. */
/*
@@ -24,6 +24,7 @@ sleeper(arg)
sigfillset(&mask);
CHECKe(sigprocmask(SIG_SETMASK, &mask, NULL));
ASSERT(sleep(3) == 0);
+ CHECKe(write(STDOUT_FILENO, "\n", 1));
SUCCEED;
}
diff --git a/regress/lib/libc_r/sleep/sleep.c b/regress/lib/libc_r/sleep/sleep.c
index 7819c136c3f..e2da9992f7f 100644
--- a/regress/lib/libc_r/sleep/sleep.c
+++ b/regress/lib/libc_r/sleep/sleep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sleep.c,v 1.2 2001/09/20 16:43:15 todd Exp $ */
+/* $OpenBSD: sleep.c,v 1.3 2002/06/16 23:06:28 marc Exp $ */
/*
* Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors,
* proven@mit.edu All rights reserved.
@@ -79,5 +79,6 @@ main()
for (i = 0; i < count; i++)
CHECKr(pthread_join(thread[i], NULL));
+ CHECKe(write(STDOUT_FILENO, "\n", 1));
SUCCEED;
}
diff --git a/regress/lib/libc_r/switch/switch.c b/regress/lib/libc_r/switch/switch.c
index 94fc9934bff..4c21eafe392 100644
--- a/regress/lib/libc_r/switch/switch.c
+++ b/regress/lib/libc_r/switch/switch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: switch.c,v 1.1 2001/08/15 14:37:16 fgsch Exp $ */
+/* $OpenBSD: switch.c,v 1.2 2002/06/16 23:06:53 marc Exp $ */
/*
* Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors,
* proven@mit.edu All rights reserved.
@@ -126,5 +126,6 @@ main(argc, argv)
for (i = 0; i < count; i++)
ASSERT(x[i]); /* make sure each thread ran */
+ CHECKe(write(STDOUT_FILENO, "\n", 1));
SUCCEED;
}
diff --git a/regress/lib/libpthread/signal/signal.c b/regress/lib/libpthread/signal/signal.c
index 2d79cf2e08a..815052db03d 100644
--- a/regress/lib/libpthread/signal/signal.c
+++ b/regress/lib/libpthread/signal/signal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signal.c,v 1.3 2001/11/11 23:26:35 deraadt Exp $ */
+/* $OpenBSD: signal.c,v 1.4 2002/06/16 23:06:15 marc Exp $ */
/* David Leonard <d@openbsd.org>, 2001. Public Domain. */
/*
@@ -24,6 +24,7 @@ sleeper(arg)
sigfillset(&mask);
CHECKe(sigprocmask(SIG_SETMASK, &mask, NULL));
ASSERT(sleep(3) == 0);
+ CHECKe(write(STDOUT_FILENO, "\n", 1));
SUCCEED;
}
diff --git a/regress/lib/libpthread/sleep/sleep.c b/regress/lib/libpthread/sleep/sleep.c
index 7819c136c3f..e2da9992f7f 100644
--- a/regress/lib/libpthread/sleep/sleep.c
+++ b/regress/lib/libpthread/sleep/sleep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sleep.c,v 1.2 2001/09/20 16:43:15 todd Exp $ */
+/* $OpenBSD: sleep.c,v 1.3 2002/06/16 23:06:28 marc Exp $ */
/*
* Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors,
* proven@mit.edu All rights reserved.
@@ -79,5 +79,6 @@ main()
for (i = 0; i < count; i++)
CHECKr(pthread_join(thread[i], NULL));
+ CHECKe(write(STDOUT_FILENO, "\n", 1));
SUCCEED;
}
diff --git a/regress/lib/libpthread/switch/switch.c b/regress/lib/libpthread/switch/switch.c
index 94fc9934bff..4c21eafe392 100644
--- a/regress/lib/libpthread/switch/switch.c
+++ b/regress/lib/libpthread/switch/switch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: switch.c,v 1.1 2001/08/15 14:37:16 fgsch Exp $ */
+/* $OpenBSD: switch.c,v 1.2 2002/06/16 23:06:53 marc Exp $ */
/*
* Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors,
* proven@mit.edu All rights reserved.
@@ -126,5 +126,6 @@ main(argc, argv)
for (i = 0; i < count; i++)
ASSERT(x[i]); /* make sure each thread ran */
+ CHECKe(write(STDOUT_FILENO, "\n", 1));
SUCCEED;
}