Bug: make solana-test-e2e fails — Bad substitution in lib-local-deploy-env.sh #77
Labels
No labels
agent:implement
agent:ready
backend
bug
cannot-reproduce
confirmed
desktop
docs
documentation
duplicate
enhancement
feature
frontend
good first issue
help wanted
high-risk
in-review
invalid
mobile
needs-triage
P0-critical
P1-high
P2-medium
P3-low
qa
QA
question
ready
report
responsive
security
security-escalate
smart-contract
solana
tablet
test-pass
ux
wallet-issue
wallet:keplr
wallet:metamask
wallet:station
wallet:walletconnect
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-bridge-monorepo#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
make solana-test-e2e fails with '/bin/sh: 5: ./scripts/lib-local-deploy-env.sh: Bad substitution'. Tests restructured — on-chain flows now in deposit_withdraw.test.ts (anchor test), Rust E2E file only has offline checks. make solana-test-e2e runs 0 ignored tests. May need Makefile update to match new test structure.
mentioned in issue #67
mentioned in commit
ecd73f6a26Fixed (pushed to
feat/solana-integration)Cause: Make runs recipes with
/bin/sh. Sourcingscripts/lib-local-deploy-env.shused bash-only syntax (${BASH_SOURCE[0]},[[ ... ]]), which triggersBad substitutionunder dash/sh.Changes:
solana-test-e2erecipe viabash -c '...'(same pattern asdeploy-solana).--ignoredfromcargo test—test_solana_flows.rsis now offline-only with no#[ignore]tests; on-chain flows live in Anchor tests per issue description.Verified locally:
make solana-test-e2epasses (3 tests).Commit:
ecd73f6@brouie please verify when you have a moment.
Verified. make solana-test-e2e runs cleanly — Bad substitution fixed (bash -c). 3/3 offline tests pass. On-chain flows moved to anchor test suite (179/179 via make solana-test). Closing.