summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/tc-signal-catch.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-11 21:40:03 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-11 21:59:52 +0100
commit586e06ec6222f1cd1f005aa8f4a34a8b33f5d862 (patch)
tree91a2e0cb3516739bafecb8c46816e1c49ed75e0e /testsuites/validation/tc-signal-catch.c
parentTest suite for FTW.H methods (diff)
downloadrtems-586e06ec6222f1cd1f005aa8f4a34a8b33f5d862.tar.bz2
validation: Improve wording
Diffstat (limited to 'testsuites/validation/tc-signal-catch.c')
-rw-r--r--testsuites/validation/tc-signal-catch.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/testsuites/validation/tc-signal-catch.c b/testsuites/validation/tc-signal-catch.c
index 57cfda28d9..e513fdc621 100644
--- a/testsuites/validation/tc-signal-catch.c
+++ b/testsuites/validation/tc-signal-catch.c
@@ -305,9 +305,11 @@ static void RtemsSignalReqCatch_Pre_Pending_Prepare(
switch ( state ) {
case RtemsSignalReqCatch_Pre_Pending_Yes: {
/*
- * Where the system has more than one processor, when
- * rtems_signal_catch() is called, the calling task shall have pending
- * signals.
+ * Where the system has more than one processor, while the calling task
+ * has pending signals, the rtems_signal_catch() directive shall be
+ * called. Where the system has exactly one processor, while the calling
+ * task has no pending signals, the rtems_signal_catch() directive shall
+ * be called.
*/
ctx->pending_signals = ( rtems_scheduler_get_processor_maximum() > 1 ) ? 1 : 0;
break;
@@ -315,8 +317,8 @@ static void RtemsSignalReqCatch_Pre_Pending_Prepare(
case RtemsSignalReqCatch_Pre_Pending_No: {
/*
- * When rtems_signal_catch() is called, the calling task shall have no
- * pending signals.
+ * While the calling task has no pending signals, the
+ * rtems_signal_catch() directive shall be called.
*/
ctx->pending_signals = 0;
break;