Skip to content

Commit 6242c1e

Browse files
committed
Ensure that test tests/functional/platforms/02-host-to-platform-upgrade.t
can fail pass the test by passing workflow validation.
1 parent e552763 commit 6242c1e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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" \
File renamed without changes.

0 commit comments

Comments
 (0)