* winsup.api/mmaptest01.c: Add log output.

* winsup.api/mmaptest02.c: Write log output to stdout.
        * winsup.api/mmaptest03.c: Ditto.
This commit is contained in:
Corinna Vinschen 2001-05-21 09:03:38 +00:00
parent 60be3f0066
commit b62456f42f
4 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2001-05-21 Corinna Vinschen <corinna@vinschen.de>
* winsup.api/mmaptest01.c: Add log output.
* winsup.api/mmaptest02.c: Write log output to stdout.
* winsup.api/mmaptest03.c: Ditto.
2001-05-15 Corinna Vinschen <corinna@vinschen.de>
* winsup.api/winsup.exp: Force linking all tests against binmode.o.

View File

@ -99,7 +99,10 @@ int main ()
/* the buffers have to be different */
if (buf1 == buf2 || !memcmp (buf1, buf2, 20))
{
printf ("buffers are not different!\n");
return 1;
}
return 0;
}

View File

@ -29,7 +29,7 @@ int fd;
void
perror_exit (char *str, int code)
{
perror (str);
printf ("%s: %s\n", str, strerror (errno));
exit (code);
}
@ -149,7 +149,7 @@ test_3 ()
}
if (y == 0)
{
fputs ("test 3: couldn't get two consecutive pages, giving up\n", stderr);
fputs ("test 3: couldn't get two consecutive pages, giving up\n", stdout);
exit (65);
}

View File

@ -23,7 +23,7 @@ char const line[] = "y1 y1 y1 y1 y1 y1 y1 y1 y1 y1 y1 y1 y1 y1 y1 y1 y1";
void
perror_exit (char *str)
{
perror (str);
printf ("%s: %s\n", str, strerror (errno));
exit (1);
}