Skip to content

Commit

Permalink
fix /dev/shm permissions as suggested by chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Mar 28, 2013
1 parent bc5ed20 commit 838991a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions before.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ set -x

CHROME_REVISION=191150

type -a chrome

sh -e /etc/init.d/xvfb start
sudo apt-get install -y unzip libxss1
curl -L -O "http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/$CHROME_REVISION/chrome-linux.zip"
unzip chrome-linux.zip
curl -L "http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/$CHROME_REVISION/chrome-linux.test/chromedriver" > chrome-linux/chromedriver
chmod +x chrome-linux/chromedriver

file chrome-linux/chromedriver
ls -la chrome-linux
sudo chmod 1777 /dev/shm

0 comments on commit 838991a

Please sign in to comment.