[rtems-central commit] spec: Fix action requirement patterns

Sebastian Huber sebh at rtems.org
Tue Jan 11 15:59:54 UTC 2022


Module:    rtems-central
Branch:    master
Commit:    c620a77d70984fe7aedae40cf594352c331c0733
Changeset: http://git.rtems.org/rtems-central/commit/?id=c620a77d70984fe7aedae40cf594352c331c0733

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jan 11 16:05:12 2022 +0100

spec: Fix action requirement patterns

---

 spec/spec/requirement-action-exp-state-name.yml        | 2 +-
 spec/spec/requirement-action-exp-states.yml            | 2 +-
 spec/spec/requirement-action-name.yml                  | 2 +-
 spec/spec/requirement-action-transition-post-state.yml | 2 +-
 spec/spec/requirement-action-transition-post.yml       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/spec/spec/requirement-action-exp-state-name.yml b/spec/spec/requirement-action-exp-state-name.yml
index 5d9d291..134b883 100644
--- a/spec/spec/requirement-action-exp-state-name.yml
+++ b/spec/spec/requirement-action-exp-state-name.yml
@@ -11,7 +11,7 @@ spec-info:
   str:
     assert:
       or:
-      - re: ^[A-Z][a-zA-Z0-9]+$
+      - re: ^[A-Z][a-zA-Z0-9]*$
       - eq: N/A
     description: |
       It shall be the name of a state of the condition or ``N/A`` if the
diff --git a/spec/spec/requirement-action-exp-states.yml b/spec/spec/requirement-action-exp-states.yml
index 943ec38..931fb26 100644
--- a/spec/spec/requirement-action-exp-states.yml
+++ b/spec/spec/requirement-action-exp-states.yml
@@ -15,7 +15,7 @@ spec-info:
   str:
     assert:
       or:
-      - re: ^[A-Z][a-zA-Z0-9]+$
+      - re: ^[A-Z][a-zA-Z0-9]*$
       - eq: N/A
     description: |
       It shall be the name of a state of the condition or ``N/A`` if the
diff --git a/spec/spec/requirement-action-name.yml b/spec/spec/requirement-action-name.yml
index 76451ef..e9679f3 100644
--- a/spec/spec/requirement-action-name.yml
+++ b/spec/spec/requirement-action-name.yml
@@ -11,7 +11,7 @@ spec-info:
   str:
     assert:
       and:
-      - re: ^[A-Z][a-zA-Z0-9]+$
+      - re: ^[A-Z][a-zA-Z0-9]*$
       - not:
           eq: NA
     description: |
diff --git a/spec/spec/requirement-action-transition-post-state.yml b/spec/spec/requirement-action-transition-post-state.yml
index e2f99c7..e6e1c39 100644
--- a/spec/spec/requirement-action-transition-post-state.yml
+++ b/spec/spec/requirement-action-transition-post-state.yml
@@ -16,7 +16,7 @@ spec-info:
   str:
     assert:
       or:
-      - re: ^[A-Z][a-zA-Z0-9]+$
+      - re: ^[A-Z][a-zA-Z0-9]*$
       - eq: N/A
     description: |
       It shall be the name of a state of the corresponding post-condition or
diff --git a/spec/spec/requirement-action-transition-post.yml b/spec/spec/requirement-action-transition-post.yml
index fd8b9f1..eb68d57 100644
--- a/spec/spec/requirement-action-transition-post.yml
+++ b/spec/spec/requirement-action-transition-post.yml
@@ -25,7 +25,7 @@ spec-info:
   str:
     assert:
       and:
-      - re: ^[A-Z][a-zA-Z0-9]+$
+      - re: ^[A-Z][a-zA-Z0-9]*$
       - not:
           eq: NA
     description: |



More information about the vc mailing list