From e1a0de83f2d99d2e61ea41c845dc61abd65aeb0a Mon Sep 17 00:00:00 2001 From: Glenn Jackman Date: Sat, 20 Jul 2024 18:37:23 -0400 Subject: [PATCH] Abort food-chain bats if bash version is 3.2 See http://forum.exercism.org/t/trouble-with-local-food-chain-testing/12180 for details. --- exercises/practice/food-chain/test-food-chain.bats | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/exercises/practice/food-chain/test-food-chain.bats b/exercises/practice/food-chain/test-food-chain.bats index c323672..c61194a 100644 --- a/exercises/practice/food-chain/test-food-chain.bats +++ b/exercises/practice/food-chain/test-food-chain.bats @@ -1,4 +1,16 @@ #!/usr/bin/env bats + +# ref http://forum.exercism.org/t/trouble-with-local-food-chain-testing/12180 +if [[ $BASH_VERSION == "3.2"* ]]; then + cat >&2 <