From 19b6f7c67e109933f700c950fa567396f7e6e5cd Mon Sep 17 00:00:00 2001 From: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> Date: Mon, 10 Aug 2020 17:23:38 +0100 Subject: [PATCH] Wider rename of suite.rc -> flow.cylc --- tests/functional/validate/73-xtrigger-names.t | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/functional/validate/73-xtrigger-names.t b/tests/functional/validate/73-xtrigger-names.t index decea8c1247..5dc557e1c6b 100644 --- a/tests/functional/validate/73-xtrigger-names.t +++ b/tests/functional/validate/73-xtrigger-names.t @@ -1,7 +1,7 @@ #!/usr/bin/env bash # THIS FILE IS PART OF THE CYLC SUITE ENGINE. # Copyright (C) NIWA & British Crown (Met Office) & Contributors. -# +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or @@ -23,27 +23,27 @@ set_test_number 3 TEST_NAME="${TEST_NAME_BASE}-val" # test a valid xtrigger -cat >'suite.rc' <<'__SUITE_RC__' +cat >'flow.cylc' <<'__FLOW_CONFIG__' [scheduling] initial cycle point = 2000 [[xtriggers]] foo = wall_clock():PT1S [[graph]] R1 = @foo => bar -__SUITE_RC__ -run_ok "${TEST_NAME}-valid" cylc validate suite.rc +__FLOW_CONFIG__ +run_ok "${TEST_NAME}-valid" cylc validate flow.cylc # test an invalid xtrigger -cat >'suite.rc' <<'__SUITE_RC__' +cat >'flow.cylc' <<'__FLOW_CONFIG__' [scheduling] initial cycle point = 2000 [[xtriggers]] foo-1 = wall_clock():PT1S [[graph]] R1 = @foo-1 => bar -__SUITE_RC__ +__FLOW_CONFIG__ -run_fail "${TEST_NAME}-invalid" cylc validate suite.rc +run_fail "${TEST_NAME}-invalid" cylc validate flow.cylc grep_ok 'Invalid xtrigger name' "${TEST_NAME}-invalid.stderr" exit