Zoltan Martonka has posted comments on this change. ( http://gerrit.cloudera.org:8080/23509 )
Change subject: KUDU-3478 Add Python client examples test script ...................................................................... Patch Set 1: (1 comment) http://gerrit.cloudera.org:8080/#/c/23509/1/python/test-python-examples.sh File python/test-python-examples.sh: http://gerrit.cloudera.org:8080/#/c/23509/1/python/test-python-examples.sh@152 PS1, Line 152: local valid=false : for example in "${VALID_EXAMPLES[@]}"; do : if [[ "$EXAMPLE_NAME" == "$example" ]]; then : valid=true : break : fi : done : if [[ "$valid" != "true" ]]; then : exit_error "Invalid example script: $EXAMPLE_NAME. Must be one of: ${VALID_EXAMPLES[*]}" : fi Does this work? Please test It on an Ubuntu 20.04 (with an invalid test name). local can only be used in a function -- To view, visit http://gerrit.cloudera.org:8080/23509 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic2ea271a8d33a285e4bf222afa17ec77583a5b8b Gerrit-Change-Number: 23509 Gerrit-PatchSet: 1 Gerrit-Owner: Marton Greber <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Gabriella Lotz <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Zoltan Martonka <[email protected]> Gerrit-Comment-Date: Wed, 08 Oct 2025 12:57:47 +0000 Gerrit-HasComments: Yes
