From 0e3db42ab9b50814e68232674f12d9186fd15e0c Mon Sep 17 00:00:00 2001 From: Hilary James Oliver Date: Thu, 29 Aug 2019 17:20:42 +1200 Subject: [PATCH] Shellcheck fix. --- tests/registration/00-simple.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/registration/00-simple.t b/tests/registration/00-simple.t index 19115f28bd6..0ab047c890b 100755 --- a/tests/registration/00-simple.t +++ b/tests/registration/00-simple.t @@ -183,7 +183,7 @@ run_fail "${TEST_NAME}" cylc register --run-dir="${ALT_RUN_DIR}" "${REG}" "${SRC contains_ok "${TEST_NAME}.stderr" <<__OUT__ SuiteServiceFileError: Symlink '${RUN_DIR}' already points to ${PWD}/target. __OUT__ -rm -r "${SRC_DIR}" "${PWD}/target" "${CYLC_RUN_DIR}/${PRE}" +rm -r "${SRC_DIR}" "${PWD}/target" "${CYLC_RUN_DIR:?}/${PRE}" purge_suite "${SUITE_NAME}" exit