about summary refs log tree commit diff
path: root/test-skeleton.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-11 20:19:13 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-11 20:19:13 +0000
commit6b9c2e671c08bd80606d9da81aee00bb03c44f90 (patch)
tree9152632246378cff143bd87c197cc5785600b334 /test-skeleton.c
parent18de8c733f47eedd3ccb9705c2d3bb8464025588 (diff)
downloadglibc-6b9c2e671c08bd80606d9da81aee00bb03c44f90.tar.gz
glibc-6b9c2e671c08bd80606d9da81aee00bb03c44f90.tar.xz
glibc-6b9c2e671c08bd80606d9da81aee00bb03c44f90.zip
Update.
	* rt/tst-aio.c: Add test for aio_read and lio_listio.

	* rt/lio_listio.c: Correct total counter handling.

	* rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
	from request queue.

	* test-skeleton.c (main): Make stdout unbuffered.  Improve message
	of signal on exit even more.
Diffstat (limited to 'test-skeleton.c')
-rw-r--r--test-skeleton.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-skeleton.c b/test-skeleton.c
index 39c6073c73..497adbe5ba 100644
--- a/test-skeleton.c
+++ b/test-skeleton.c
@@ -155,6 +155,9 @@ main (int argc, char *argv[])
 	test_dir = "/tmp";
     }
 
+  /* Make sure we see all message, even those on stdout.  */
+  setvbuf (stdout, NULL, _IONBF, 0);
+
   /* If we are not expected to fork run the function immediately.  */
   if (direct)
     return TEST_FUNCTION;
@@ -213,7 +216,7 @@ main (int argc, char *argv[])
 	fprintf (stderr, "Incorrect signal from child: got `%s', need `%s'\n",
 		 strsignal (WTERMSIG (status)), strsignal (EXPECTED_SIGNAL));
       else
-	fprintf (stderr, "Incorrect signal from child: got `%s'\n",
+	fprintf (stderr, "Didn't expect signal from child: got `%s'\n",
 		 strsignal (WTERMSIG (status)));
       exit (1);
     }