Skip to content

Commit eb727cf

Browse files
authored
Merge pull request #6894 from cylc/8.5.x-sync
🤖 Merge 8.5.x-sync into master
2 parents 30253e2 + 58690dd commit eb727cf

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

cylc/flow/cfgspec/globalcfg.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,8 +1297,8 @@ def default_for(
12971297
be created in ``<this-path>/cylc-run/<workflow-id>``
12981298
and a symbolic link will be created from
12991299
``$HOME/cylc-run/<workflow-id>``.
1300-
If not specified the workflow run directory will be created
1301-
in ``$HOME/cylc-run/<workflow-id>``.
1300+
If not specified, the workflow run directory will be
1301+
created in ``$HOME/cylc-run/<workflow-id>``.
13021302
All the workflow files and the ``.service`` directory get
13031303
installed into this directory.
13041304
@@ -1308,13 +1308,12 @@ def default_for(
13081308
Conf(folder, VDR.V_STRING, None, desc=f"""
13091309
Alternative location for the {folder} dir.
13101310
1311-
If specified the workflow {folder} directory will
1311+
If specified, the workflow {folder} directory will
13121312
be created in
13131313
``<this-path>/cylc-run/<workflow-id>/{folder}``
13141314
and a symbolic link will be created from
13151315
``$HOME/cylc-run/<workflow-id>/{folder}``.
1316-
If not specified the workflow log directory will
1317-
be created in
1316+
If not specified, the directory will be created in
13181317
``$HOME/cylc-run/<workflow-id>/{folder}``.
13191318
13201319
.. versionadded:: {versionadded}

tests/functional/platforms/02-host-to-platform-upgrade.t

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@
2121
# - Task with a host setting that should match the test platform
2222
export REQUIRE_PLATFORM='loc:remote'
2323
. "$(dirname "$0")/test_header"
24-
set_test_number 6
24+
set_test_number 7
2525

2626
install_workflow "${TEST_NAME_BASE}" "${TEST_NAME_BASE}"
2727

2828
# Ensure that a mix of syntax will fail.
2929
run_fail "${TEST_NAME_BASE}-validate-fail" \
30-
cylc validate "flow2.cylc"
30+
cylc validate "${TEST_SOURCE_DIR}/${TEST_NAME_BASE}/bad"
31+
# and fail in this specific manner:
32+
grep_ok "cannot be used with" "${TEST_NAME_BASE}-validate-fail.stderr"
3133

3234
# Ensure that you can validate workflow
3335
run_ok "${TEST_NAME_BASE}-run" \

tests/functional/platforms/02-host-to-platform-upgrade/flow2.cylc renamed to tests/functional/platforms/02-host-to-platform-upgrade/bad/flow.cylc

File renamed without changes.

0 commit comments

Comments
 (0)