* winsup.api/ltp/sbrk01.c (main): Force output at startup to

make sure that stdio file buffer get allocated.
* winsup.api/ltp/stat06.c (high_address_setup): On cygwin, area
after sbrk(0) may be available, use 0xffff0000 as "high address".
* winsup.api/ltp/symlink01.c: Perform all tests. Mark those tests that
don't work on cygwin with '-1'. Close open files so that temporary
directory can be deleted on exit.
* winsup.api/ltp/vfork01.c: New test.
This commit is contained in:
Egor Duda
2001-09-15 19:54:04 +00:00
parent 542097acd0
commit 615643cb12
5 changed files with 442 additions and 12 deletions

View File

@@ -149,6 +149,13 @@ main(int ac, char **av)
***************************************************************/
setup();
#ifdef __CYGWIN__
/* we need to initialize output buffer before first sbrk.
otherwise, when memory is freed bu second sbrk, fwrite will
fail */
tst_resm(TINFO, "Entering test");
#endif
/***************************************************************
* check looping state if -c option given
***************************************************************/
@@ -243,8 +250,6 @@ setup()
/* make a temp dir and cd to it */
tst_tmpdir();
/* Pause if that option was specified */
TEST_PAUSE;
} /* End setup() */