Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix /dev/shm permissions as suggested by chrome

  • Loading branch information...
commit 838991aa3ae472be40b8ce547926a300ccc72300 1 parent bc5ed20
Jari Bakken authored March 28, 2013

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  before.sh
5  before.sh
@@ -4,6 +4,8 @@ set -x
4 4
 
5 5
 CHROME_REVISION=191150
6 6
 
  7
+type -a chrome
  8
+
7 9
 sh -e /etc/init.d/xvfb start
8 10
 sudo apt-get install -y unzip libxss1
9 11
 curl -L -O "http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/$CHROME_REVISION/chrome-linux.zip"
@@ -11,5 +13,4 @@ unzip chrome-linux.zip
11 13
 curl -L "http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/$CHROME_REVISION/chrome-linux.test/chromedriver" > chrome-linux/chromedriver
12 14
 chmod +x chrome-linux/chromedriver
13 15
 
14  
-file chrome-linux/chromedriver
15  
-ls -la chrome-linux
  16
+sudo chmod 1777 /dev/shm

0 notes on commit 838991a

Please sign in to comment.
Something went wrong with that request. Please try again.