From 23f46ea192b3f1672a01e1ff92d470d42ff30f1a Mon Sep 17 00:00:00 2001 From: Dominik Rosiek Date: Wed, 20 May 2020 11:57:25 +0200 Subject: [PATCH] Replace grep in favor of sed for upgrade script tests --- tests/upgrade_script/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/upgrade_script/run.sh b/tests/upgrade_script/run.sh index 415d5fcc29..2563865ff2 100644 --- a/tests/upgrade_script/run.sh +++ b/tests/upgrade_script/run.sh @@ -19,7 +19,7 @@ readonly OUT="new_values.yaml" for input_file in ${INPUT_FILES}; do - test_name=$(echo "${input_file}" | grep -oP '^.*?(?=\.input\.yaml)') + test_name=$(echo "${input_file}" | sed -e 's/.input.yaml$//g') output_file="${test_name}.output.yaml" log_file="${test_name}.log"