summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp66
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 03:33:25 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 03:33:25 +0000
commitb1274bd94c94520ed9402f85c949976d7008093e (patch)
tree6ed7755c34e5fcccbe06ff095017a4399de180ff /testsuites/sptests/sp66
parentWhitespace removal. (diff)
downloadrtems-b1274bd94c94520ed9402f85c949976d7008093e.tar.bz2
Whitespace removal.
Diffstat (limited to 'testsuites/sptests/sp66')
-rw-r--r--testsuites/sptests/sp66/init.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuites/sptests/sp66/init.c b/testsuites/sptests/sp66/init.c
index 3cea6ee161..9aee9d0f1e 100644
--- a/testsuites/sptests/sp66/init.c
+++ b/testsuites/sptests/sp66/init.c
@@ -21,14 +21,14 @@ rtems_task Init(
{
int status, ceiling, old_ceiling;
rtems_id Mutex_id, Task_id;
-
+
puts( "\n\n*** TEST 66 ***" );
/*
* Create binary semaphore (a.k.a. Mutex) with Priority Ceiling
* attribute.
*/
-
+
puts( "Creating semaphore" );
status = rtems_semaphore_create(
rtems_build_name( 's','e','m','1' ),
@@ -42,9 +42,9 @@ rtems_task Init(
puts( "Calling rtems_semaphore_obtain" );
status = rtems_semaphore_obtain( Mutex_id, RTEMS_DEFAULT_OPTIONS, 0 );
directive_failed( status, "rtems_semaphore_obtain" );
-
+
puts( "Calling rtems_task_create" );
- status = rtems_task_create( rtems_build_name( 'T', 'A', 'S', '1' ),
+ status = rtems_task_create( rtems_build_name( 'T', 'A', 'S', '1' ),
2,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
@@ -52,17 +52,17 @@ rtems_task Init(
&Task_id
);
directive_failed( status, "rtems_task_create" );
-
+
puts( "Calling rtems_task_start" );
status = rtems_task_start( Task_id, Task_1, (rtems_task_argument)&Mutex_id );
directive_failed( status, "rtems_task_start" );
-
+
sleep(1);
-
+
puts( "Calling semaphore release" );
status = rtems_semaphore_release( Mutex_id );
directive_failed( status, "rtems_semaphore_release" );
-
+
puts( "*** END OF TEST 66 ***" );
rtems_test_exit(0);