Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]multi-tenant/TestParGCAllocatorLeak.sh在ubuntu系统上报错 #408

Closed
sendaoYan opened this issue Sep 27, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@sendaoYan
Copy link
Collaborator

sendaoYan commented Sep 27, 2022

Description
multi-tenant/TestParGCAllocatorLeak.sh在ubuntu系统上报错:Syntax error: "(" unexpected

原因:ubuntu系统默认的dash解释器,不支持数组

image

Steps to Reproduce
jtreg hotspot/test/multi-tenant/TestParGCAllocatorLeak.sh

@sendaoYan sendaoYan self-assigned this Sep 27, 2022
@sendaoYan sendaoYan added the bug Something isn't working label Sep 27, 2022
sendaoYan added a commit that referenced this issue Sep 27, 2022
Summary: By default in ubuntu system, sh points to dash, which causes sh use array to report an syntax error. Relate testcase: hotspot/test/multi-tenant/TestParGCAllocatorLeak.sh

Test Plan: CI pipeline

Reviewed-by: jeffery.wsj, lvfei.lv

Issue: #408
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant