@@ -30,15 +30,15 @@ rm etc/global.cylc
3030
3131TEST_NAME=" ${TEST_NAME_BASE} .vanilla"
3232run_fail " ${TEST_NAME} " cylc lint .
33- named_grep_ok " check-for-error-code" " S004" " ${TEST_NAME} .stdout"
33+ named_grep_ok " ${TEST_NAME_BASE} - check-for-error-code" " S004" " ${TEST_NAME} .stdout"
3434
3535TEST_NAME=" ${TEST_NAME_BASE} .pick-a-ruleset"
3636run_fail " ${TEST_NAME} " cylc lint . -r 728
37- named_grep_ok " check-for-error-code" " U998" " ${TEST_NAME} .stdout"
37+ named_grep_ok " ${TEST_NAME_BASE} - check-for-error-code" " U998" " ${TEST_NAME} .stdout"
3838
3939TEST_NAME=" ${TEST_NAME_BASE} .inplace"
4040run_fail " ${TEST_NAME} " cylc lint . -i
41- named_grep_ok " check-for-error-code-in-file" " U998" flow.cylc
41+ named_grep_ok " ${TEST_NAME_BASE} - check-for-error-code-in-file" " U998" flow.cylc
4242
4343rm flow.cylc
4444
@@ -49,7 +49,7 @@ __HERE__
4949
5050TEST_NAME=" ${TEST_NAME_BASE} .pick-a-ruleset-728"
5151run_fail " ${TEST_NAME} " cylc lint . -r 728
52- named_grep_ok " do-not-upgrade-check-if-compat-mode" " Lint after renaming" " ${TEST_NAME} .stderr"
52+ named_grep_ok " ${TEST_NAME_BASE} - do-not-upgrade-check-if-compat-mode" " Lint after renaming" " ${TEST_NAME} .stderr"
5353
5454TEST_NAME=" ${TEST_NAME_BASE} .pick-a-ruleset-728-exit-zero"
5555run_ok " ${TEST_NAME} " cylc lint . -r 728 --exit-zero
@@ -69,15 +69,15 @@ __HERE__
6969
7070TEST_NAME=" ${TEST_NAME_BASE} .zero-issues"
7171run_ok " ${TEST_NAME} " cylc lint .
72- named_grep_ok " message on no errors" " found no issues" " ${TEST_NAME} .stdout"
72+ named_grep_ok " ${TEST_NAME_BASE} - message-on-no- errors" " found no issues" " ${TEST_NAME} .stdout"
7373
7474# It returns an error message if you attempt to lint a non-existant location
7575TEST_NAME=" it-fails-if-not-target"
76- run_fail ${TEST_NAME} cylc lint " a-$( uuidgen) "
76+ run_fail " ${TEST_NAME} " cylc lint " a-$( uuidgen) "
7777grep_ok " Workflow ID not found" " ${TEST_NAME} .stderr"
7878
7979# It returns a reference in reference mode
80- TEST_NAME=" it-returns-a-reference"
80+ TEST_NAME=" ${TEST_NAME_BASE} - it-returns-a-reference"
8181run_ok " ${TEST_NAME} " cylc lint --list-codes
8282named_grep_ok " ${TEST_NAME} -contains-style-codes" " ^S001:" " ${TEST_NAME} .stdout"
8383TEST_NAME=" it-returns-a-reference-style"
0 commit comments