From fa35e8c0bafc9f86be60e9675c23830903cc97f2 Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Wed, 13 Jul 2022 10:10:08 +0200 Subject: [PATCH] removed: realpath -s (does not exist on freebsd) (#1656) --- tests/bats/70_http_plugin.bats | 2 +- tests/bats/72_plugin_badconfig.bats | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bats/70_http_plugin.bats b/tests/bats/70_http_plugin.bats index 38f426525..aeaa3fdbb 100644 --- a/tests/bats/70_http_plugin.bats +++ b/tests/bats/70_http_plugin.bats @@ -15,7 +15,7 @@ setup_file() { export MOCK_URL PLUGIN_DIR=$(config_get '.config_paths.plugin_dir') # could have a trailing slash - PLUGIN_DIR=$(realpath -s "${PLUGIN_DIR}") + PLUGIN_DIR=$(realpath "${PLUGIN_DIR}") export PLUGIN_DIR # https://mikefarah.gitbook.io/yq/operators/env-variable-operators diff --git a/tests/bats/72_plugin_badconfig.bats b/tests/bats/72_plugin_badconfig.bats index 5ecb75f16..49d81df1a 100644 --- a/tests/bats/72_plugin_badconfig.bats +++ b/tests/bats/72_plugin_badconfig.bats @@ -8,7 +8,7 @@ setup_file() { PLUGIN_DIR=$(config_get '.config_paths.plugin_dir') # could have a trailing slash - PLUGIN_DIR=$(realpath -s "${PLUGIN_DIR}") + PLUGIN_DIR=$(realpath "${PLUGIN_DIR}") export PLUGIN_DIR PROFILES_PATH=$(config_get '.api.server.profiles_path')