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

tst_misc.sh: Fix hang in make check #2172

Merged
merged 2 commits into from
Jan 3, 2022
Merged

tst_misc.sh: Fix hang in make check #2172

merged 2 commits into from
Jan 3, 2022

Conversation

Dave-Allured
Copy link
Contributor

Fix recent bug in tst_misc.sh that causes hang in make check.

Affects netcdf-c 4.8.1 on Mac.

@Dave-Allured Dave-Allured requested a review from WardF as a code owner December 24, 2021 13:45
Copy link
Contributor Author

@Dave-Allured Dave-Allured left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bug was introduced accidentally after release 4.8.0, and included in 4.8.1.

Without this fix, when $NC_VLEN_NOTEST is null, the command "x" is executed unintentionally. On Mac, this goes to a binary executable related to X11 service that should not be run standalone. The result is hang in the middle of make check, until canceled manually.

@DennisHeimbigner
Copy link
Collaborator

Good catch. Thanks.

@WardF WardF merged commit 9e7fa3e into Unidata:main Jan 3, 2022
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.

4 participants