This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 80ffdb4  ninja-fix in cassandra-test.sh  regx_version was made 
readonly variable
80ffdb4 is described below

commit 80ffdb45f248c6c0af78fdf31de9d3f1b86b72dc
Author: Mick Semb Wever <m...@apache.org>
AuthorDate: Wed Jul 12 18:42:08 2023 +0200

    ninja-fix in cassandra-test.sh  regx_version was made readonly variable
---
 build-scripts/cassandra-test.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/build-scripts/cassandra-test.sh b/build-scripts/cassandra-test.sh
index 21b2eed..0ee1caf 100755
--- a/build-scripts/cassandra-test.sh
+++ b/build-scripts/cassandra-test.sh
@@ -101,8 +101,7 @@ _main() {
       ant -projecthelp | grep -q " $target " || { echo "Skipping ${target}. It 
does not exist in ${version}"; exit 0; }
       ;;
     "test-cdc")
-      regx_version="(2.2|3.0).([0-9]+)$"
-      ! [[ $version =~ $regx_version ]] || { echo "Skipping ${target}. It does 
not exist in ${version}"; exit 0; }
+      ! [[ $version =~ "(2.2|3.0).([0-9]+)$" ]] || { echo "Skipping ${target}. 
It does not exist in ${version}"; exit 0; }
       ;;
     "cqlsh-test")
       [[ -f "./pylib/cassandra-cqlsh-tests.sh" ]] || { echo "Skipping 
${target}. It does not exist in ${version}"; exit 0; }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to