UT-SE-Research / iDFlakies

29 stars 33 forks source link

Minor script fixes #6

Closed s-winter closed 5 years ago

s-winter commented 5 years ago

When running an interactive shell for the idflakies user in a docker container created with iDFlakies, JAVA_HOME points to an invalid path in the container. The reason this did not affect the automated execution is that the environment is inherited from the root user when running scripts via "su - idflakies -c" and that .bashrc is not loaded for non-interactive shells (see first guard in .bashrc). To observe the issue, start an interactive shell for the idflakies user in any docker container created by the scripts and try to run maven.

august782 commented 5 years ago

I'm fine with merging this one. If there is nothing else from Wing, I would say merge it.

winglam commented 5 years ago

LGTM! Merging then.