Skip to content

Make test script handle runs as root #787

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

Merged
merged 8 commits into from
Oct 15, 2021
Merged

Make test script handle runs as root #787

merged 8 commits into from
Oct 15, 2021

Conversation

bigmontz
Copy link
Contributor

The NPM lifecycle scripts can not be run by the root user for security reasons. The full build of the driver repo depends on the prepare script run during the build (or after it).

The solution for this case is run the prepare script if the current user is the root, the way the driver package will be ready for testing.

@bigmontz bigmontz merged commit 81c3b53 into 4.4 Oct 15, 2021
@bigmontz bigmontz deleted the 4.4-update-test-scripts branch October 15, 2021 13:10
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.

2 participants