summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_priority/scenarios/script03
diff options
context:
space:
mode:
Diffstat (limited to 'schedsim/shell/schedsim_priority/scenarios/script03')
-rw-r--r--schedsim/shell/schedsim_priority/scenarios/script0319
1 files changed, 19 insertions, 0 deletions
diff --git a/schedsim/shell/schedsim_priority/scenarios/script03 b/schedsim/shell/schedsim_priority/scenarios/script03
new file mode 100644
index 0000000..a05ab26
--- /dev/null
+++ b/schedsim/shell/schedsim_priority/scenarios/script03
@@ -0,0 +1,19 @@
+echo "*** TEST 03 ***"
+rtems_init
+echo "=== Create 0x0a010001 ==="
+task_create TA1 1
+echo "** Mode - query"
+task_mode
+echo "** Mode - set no timeslicing"
+task_mode -t
+echo "** Mode - set timeslicing"
+task_mode -T
+echo "** Mode - set no timeslicing and no preempt"
+task_mode -t -p
+echo "** Mode - set timeslicing and preempt"
+task_mode -T -P
+echo "** Mode - query"
+task_mode
+echo "*** END OF TEST 03 ***"
+exit
+# We will not get here