* 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

@@ -327,7 +327,11 @@ high_address_setup()
for (ind=0; Test_cases[ind].desc != NULL; ind++ ) {
if ( Test_cases[ind].pathname == High_address ) {
/*if ( strcmp(Test_cases[ind].pathname, HIGH_ADDRESS) == 0 ) { ***/
#ifndef __CYGWIN__
Test_cases[ind].pathname = (char *)(sbrk(0)+5);
#else
Test_cases[ind].pathname = (char *)0xffff0000;
#endif
break;
}
}