summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx07
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx07')
-rw-r--r--testsuites/psxtests/psx07/init.c3
-rw-r--r--testsuites/psxtests/psx07/psx07.scn2
2 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx07/init.c b/testsuites/psxtests/psx07/init.c
index 59a2e93174..0226f6df48 100644
--- a/testsuites/psxtests/psx07/init.c
+++ b/testsuites/psxtests/psx07/init.c
@@ -304,7 +304,8 @@ void *POSIX_Init(
puts( "Init: pthread_attr_getstacksize - SUCCESSFUL" );
status = pthread_attr_getstacksize( &attr, &stacksize );
assert( !status );
- printf( "Init: current stack size attribute = %ld\n", (long) stacksize );
+ if ( stacksize == (STACK_MINIMUM_SIZE * 2) )
+ printf( "Init: current stack size attribute is OK\n" );
/* exercise get and set stack address */
diff --git a/testsuites/psxtests/psx07/psx07.scn b/testsuites/psxtests/psx07/psx07.scn
index c8964694e2..08f844896e 100644
--- a/testsuites/psxtests/psx07/psx07.scn
+++ b/testsuites/psxtests/psx07/psx07.scn
@@ -48,7 +48,7 @@ Init: pthread_attr_getstacksize - EINVAL (NULL attr)
Init: pthread_attr_getstacksize - EINVAL (NULL stacksize)
Init: pthread_attr_getstacksize - EINVAL (not initialized attr)
Init: pthread_attr_getstacksize - SUCCESSFUL
-Init: current stack size attribute = 5120
+Init: current stack size attribute is OK
Init: pthread_attr_setstackaddr - EINVAL (NULL attr)
Init: pthread_attr_setstackaddr - EINVAL (not initialized attr)
Init: pthread_attr_setstackaddr - SUCCESSFUL