diff --git a/.github/workflows/distro-tests-arm64.yml b/.github/workflows/distro-tests-arm64.yml index 944a8027..079b6434 100644 --- a/.github/workflows/distro-tests-arm64.yml +++ b/.github/workflows/distro-tests-arm64.yml @@ -94,4 +94,4 @@ jobs: chmod a+x test/* chmod a+x test/docker-helper/* cd test - TEST_SUITE=${{ matrix.TEST_SUITE }} sudo -E ./test_suite.sh + TEST_SUITE=${{ matrix.TEST_SUITE }} ./test_suite.sh diff --git a/test/test_installation.sh b/test/test_installation.sh index 79a2e626..a257c198 100644 --- a/test/test_installation.sh +++ b/test/test_installation.sh @@ -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" - docker run --env-file ~/.docker_env --interactive -a stdout -a stderr --rm=true --privileged --cap-add ALL "$SHA" 2>>$LOG >>$LOG + sudo 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"