Commit 81c3b53
authored
Make test script handle runs as root (#787)
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.1 parent c43b56e commit 81c3b53
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
0 commit comments