Commit 7d96dee
authored
Avoid having to use sudo for running the tests. (Kaggle#962)
A test run creates files under the /tmp/python-build directory. The
owner of these files are the user assigned to your docker process.
Running `rm -rf /tmp/python-build` in the test script fails with:
```
rm: cannot remove '/tmp/python-build/working/logs/train_log/events.out.tfevents.1614297217.localhost': Permission denied
...
```
Because your user don't have the permissions to delete these files.
Updating the `test` script to delete these files inside the a docker
container to circumvent this problem.1 parent e0a40b7 commit 7d96dee
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments