Skip to content

Commit b751406

Browse files
committed
remove sudo
1 parent b1553c5 commit b751406

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.kokoro/tests/run_tests.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,16 @@ fi
117117
# Install Chrome and chrome driver for recaptcha tests
118118
#if [[ "$file" == *"recaptcha_enterprise/"* ]]; then
119119
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
120-
sudo apt install wget
121-
sudo dpkg -i google-chrome-stable_current_amd64.deb
122-
sudo apt-get install -f
120+
apt install wget
121+
dpkg -i google-chrome-stable_current_amd64.deb
122+
apt-get install -f
123123
google-chrome --version
124124

125125
wget https://chromedriver.storage.googleapis.com/92.0.4515.107/chromedriver_linux64.zip
126126
unzip chromedriver_linux64.zip
127-
sudo mv chromedriver /usr/bin/chromedriver
128-
sudo chown root:root /usr/bin/chromedriver
129-
sudo chmod +x /usr/bin/chromedriver
127+
mv chromedriver /usr/bin/chromedriver
128+
chown root:root /usr/bin/chromedriver
129+
chmod +x /usr/bin/chromedriver
130130

131131
export CHROME_DRIVER_PATH="/usr/bin/chromedriver"
132132
echo "Installing chrome and driver. Path to installation: $CHROME_DRIVER_PATH"

0 commit comments

Comments
 (0)