Skip to content

Commit

Permalink
Fix: TEST no more sudo for test, make tests too random, need to isola…
Browse files Browse the repository at this point in the history
…te the one that need root in a root runner
  • Loading branch information
naparuba committed Sep 21, 2024
1 parent c5e470d commit 1789081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_installation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function launch_docker_file() {
SHA=$(echo $BUILD | cut -d':' -f2)

print_color "$DO_WHAT $DOCKER_FILE : RUN starting at $NOW \n" "magenta"
sudo docker run --env-file ~/.docker_env --interactive -a stdout -a stderr --rm=true --privileged --cap-add ALL "$SHA" 2>>$LOG >>$LOG
docker run --env-file ~/.docker_env --interactive -a stdout -a stderr --rm=true --privileged --cap-add ALL "$SHA" 2>>$LOG >>$LOG
if [ $? != 0 ]; then
print_color "$DO_WHAT ERROR: $(date) $DOCKER_FILE" "red"
printf " Cannot run. Look at $LOG\n"
Expand Down

0 comments on commit 1789081

Please sign in to comment.