Skip to content

fix(e2e): replace bash-specific [[ with POSIX [ for /bin/sh compatibility - #370

Open
whg517 wants to merge 1 commit into
zncdatadev:mainfrom
whg517:fix/posix-sh-compat-in-e2e-tests
Open

whg517 wants to merge 1 commit into
zncdatadev:mainfrom
whg517:fix/posix-sh-compat-in-e2e-tests

Conversation

@whg517

@whg517 whg517 commented May 14, 2026

Copy link
Copy Markdown
Member

Chainsaw executes scripts with /usr/bin/sh (dash on Ubuntu), which does not support [[ syntax.

…lity

Chainsaw executes scripts with /usr/bin/sh (dash on Ubuntu), which does
not support [[. Replace all instances:
- observability: [[ "$HTTP_CODE" != "200" ]] -> [ ... ]
- override-pdb-hive-s3: [[ -f a && -f b ]] -> [ -f a ] && [ -f b ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant