From e4164c1776eae1347cc6baa719abbfe3fced1bff Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Mon, 20 Jan 2025 16:30:31 +0100 Subject: [PATCH] fix: Try `jq -b` to preserve window output --- acceptance/bundle/variables/var_file_overrides/script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acceptance/bundle/variables/var_file_overrides/script b/acceptance/bundle/variables/var_file_overrides/script index 981d1694f..6e51b80db 100644 --- a/acceptance/bundle/variables/var_file_overrides/script +++ b/acceptance/bundle/variables/var_file_overrides/script @@ -10,7 +10,7 @@ trace $CLI bundle validate -o json --var="cluster_key=mlops_stacks-cluster" | jq trace errcode $CLI bundle validate -o json --var-file=var_files/normal.json --var="cluster_key=mlops_stacks-cluster" | jq $cluster_expr # file not found -trace errcode $CLI bundle validate -o json --var-file=var_files/not_found.json 2> >(sed 's/\(Error: failed to read variables file: open var_files\/not_found.json:\).*/\1/' >&2) | jq $cluster_expr +trace errcode $CLI bundle validate -o json --var-file=var_files/not_found.json 2> >(sed 's/\(Error: failed to read variables file: open var_files\/not_found.json:\).*/\1/' >&2) | jq -b $cluster_expr # file cannot be parsed trace errcode $CLI bundle validate -o json --var-file=var_files/invalid_json.json | jq $cluster_expr