source: rtems-schedsim/schedsim/shell/schedsim_priority/scenarios/script05.expected @ d1f9281

Last change on this file since d1f9281 was d1f9281, checked in by Jennifer Averett <jennifer.averett@…>, on May 27, 2014 at 2:39:09 PM

schedsim_priority: Change scenario's to expect verbose output.

  • Property mode set to 100644
File size: 2.6 KB
Line 
1Script File               : script05.scen
2verbose                   : 1
3==> 1: echo "*** TEST 05 ***"
4*** TEST 05 ***
5==> 2: rtems_init
6  CPU 0: Thread Heir: 0x09010001 priority=255
7  CPU 0: Thread Executing: 0x09010001 priority=255
8==> 3: echo Create 0x0a010001
9Create 0x0a010001
10==> 4: task_create TA1 1
11Creating task with:  Preemption: yes Timeslicing: no
12Task (TA1) created: id=0x0a010001, priority=1
13Task (TA1) starting: id=0x0a010001, priority=1
14  CPU 0: Thread Heir: 0x0a010001 priority=1
15  CPU 0: Thread Executing: 0x0a010001 priority=1
16==> 5: task_create TA2 2
17Creating task with:  Preemption: yes Timeslicing: no
18Task (TA2) created: id=0x0a010002, priority=2
19Task (TA2) starting: id=0x0a010002, priority=2
20==> 6: task_create TA3 3
21Creating task with:  Preemption: yes Timeslicing: no
22Task (TA3) created: id=0x0a010003, priority=3
23Task (TA3) starting: id=0x0a010003, priority=3
24==> 7: semaphore_create SEM1
25Semaphore (SEM1) created: id=0x1a010001
26==> 8: semaphore_obtain SEM1 0
27Obtain semaphore (0x1a010001) with timeout 0
28  CPU 0: Thread Heir: 0x0a010002 priority=2
29  CPU 0: Thread Executing: 0x0a010002 priority=2
30==> 9: semaphore_obtain SEM1 0
31Obtain semaphore (0x1a010001) with timeout 0
32  CPU 0: Thread Heir: 0x0a010003 priority=3
33  CPU 0: Thread Executing: 0x0a010003 priority=3
34==> 10: semaphore_obtain SEM1 0
35Obtain semaphore (0x1a010001) with timeout 0
36  CPU 0: Thread Heir: 0x09010001 priority=255
37  CPU 0: Thread Executing: 0x09010001 priority=255
38==> 11: semaphore_flush SEM1
39Flushing semaphore (0x1a010001)
40  CPU 0: Thread Heir: 0x0a010001 priority=1
41  CPU 0: Thread Executing: 0x0a010001 priority=1
42==> 12: echo "*** Now back to TA1 to do it differently"
43*** Now back to TA1 to do it differently
44==> 13: semaphore_obtain SEM1 0
45Obtain semaphore (0x1a010001) with timeout 0
46  CPU 0: Thread Heir: 0x0a010002 priority=2
47  CPU 0: Thread Executing: 0x0a010002 priority=2
48==> 14: semaphore_obtain SEM1 0
49Obtain semaphore (0x1a010001) with timeout 0
50  CPU 0: Thread Heir: 0x0a010003 priority=3
51  CPU 0: Thread Executing: 0x0a010003 priority=3
52==> 15: semaphore_release SEM1
53Releasing semaphore (0x1a010001)
54  CPU 0: Thread Heir: 0x0a010001 priority=1
55  CPU 0: Thread Executing: 0x0a010001 priority=1
56==> 16: # as TA1
57==> 17: semaphore_obtain SEM1 0
58Obtain semaphore (0x1a010001) with timeout 0
59  CPU 0: Thread Heir: 0x0a010003 priority=3
60  CPU 0: Thread Executing: 0x0a010003 priority=3
61==> 18: semaphore_delete SEM1
62Deleting semaphore (0x1a010001)
63  CPU 0: Thread Heir: 0x0a010001 priority=1
64  CPU 0: Thread Executing: 0x0a010001 priority=1
65==> 19: # should preempt
66==> 20: echo "*** END OF TEST 05 ***"
67*** END OF TEST 05 ***
68==> 21: exit
Note: See TracBrowser for help on using the repository browser.