summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx08
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 09:24:30 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 09:24:30 +0000
commit1b4f2b305c95a832a259e4c4944f1a0981676eba (patch)
tree1ee56809b12a03ba53d630f5483a48387f72b74a /testsuites/psxtests/psx08
parentRemove stray white spaces. (diff)
downloadrtems-1b4f2b305c95a832a259e4c4944f1a0981676eba.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'testsuites/psxtests/psx08')
-rw-r--r--testsuites/psxtests/psx08/init.c14
-rw-r--r--testsuites/psxtests/psx08/task2.c2
-rw-r--r--testsuites/psxtests/psx08/task3.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/testsuites/psxtests/psx08/init.c b/testsuites/psxtests/psx08/init.c
index b3f630208f..eb21f41f75 100644
--- a/testsuites/psxtests/psx08/init.c
+++ b/testsuites/psxtests/psx08/init.c
@@ -1,4 +1,4 @@
-/*
+/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
@@ -42,10 +42,10 @@ void *POSIX_Init(
assert( !status );
/* create thread */
-
+
status = pthread_create( &Task1_id, NULL, Task_1, NULL );
assert( !status );
-
+
puts( "Init: pthread_join - ESRCH (invalid id)" );
status = pthread_join( -1, &return_pointer );
assert( status == ESRCH );
@@ -66,14 +66,14 @@ void *POSIX_Init(
return_pointer,
&Task1_id
);
-
+
puts( "Init: creating two pthreads" );
status = pthread_create( &Task2_id, NULL, Task_2, NULL );
assert( !status );
-
+
status = pthread_create( &Task3_id, NULL, Task_3, NULL );
assert( !status );
-
+
puts( "Init: pthread_join - SUCCESSFUL" );
status = pthread_join( Task2_id, &return_pointer );
/* assert is below comment */
@@ -91,7 +91,7 @@ void *POSIX_Init(
return_pointer,
&Task2_id
);
-
+
puts( "Init: exitting" );
return NULL;
}
diff --git a/testsuites/psxtests/psx08/task2.c b/testsuites/psxtests/psx08/task2.c
index ffdd92bbdb..d7f8fc003c 100644
--- a/testsuites/psxtests/psx08/task2.c
+++ b/testsuites/psxtests/psx08/task2.c
@@ -38,7 +38,7 @@ void *Task_2(
if ( status != EINVAL )
printf( "status = %d\n", status );
assert( status == EINVAL );
-
+
puts( "Task_2: join to self task (Init) -- EDEADLK" );
status = pthread_join( pthread_self(), NULL );
if ( status != EDEADLK )
diff --git a/testsuites/psxtests/psx08/task3.c b/testsuites/psxtests/psx08/task3.c
index 3584a30bbb..24aa724fc7 100644
--- a/testsuites/psxtests/psx08/task3.c
+++ b/testsuites/psxtests/psx08/task3.c
@@ -34,7 +34,7 @@ void *Task_3(
if ( status )
printf( "status = %d\n", status );
assert( !status );
-
+
if ( return_pointer == &Task2_id )
puts( "Task_3: pthread_join returned correct pointer" );
else