Path:
tests/integration/features/commands/manage/auto-uid/01_issue_1630_autouid_must_preserve_relations/test.itest
Lines:
18
Non-empty lines:
15
Non-empty lines covered with requirements:
15 / 15 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-85, scope=file)
3
#
4
5
RUN: cp %S/input.sdoc %T/
6
RUN: %strictdoc manage auto-uid %T/
7
8
RUN: %cat %T/input.sdoc | filecheck %s
9
10
NOTE: This regression test ensures that the RELATIONS field of a requirement that got
11
an auto-generated UID are NOT modified.
12
The issue was reported here:
13
"auto-uid strips RELATIONS if the REQUIREMENT has no UID/MID.",
14
https://github.com/strictdoc-project/strictdoc/issues/1630
15
CHECK:UID: SECT-3
16
CHECK:RELATIONS:
17
CHECK:- TYPE: Parent
18
CHECK: VALUE: SECT-1