Browse Source

More Travis testing

Steven Smith 9 years ago
parent
commit
c42892b35e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config/travis_setup.sh

+ 2 - 2
config/travis_setup.sh

@@ -49,9 +49,9 @@ sudo chown testrunner:testrunner /home/testrunner
 # Add the testrunner user to every group that the travis user is in
 # Add the testrunner user to every group that the travis user is in
 sudo sed -i 's|:travis|:travis,testrunner|g' /etc/group
 sudo sed -i 's|:travis|:travis,testrunner|g' /etc/group
 # Add the testrunner user to the travis group specifically
 # Add the testrunner user to the travis group specifically
-sudo sed -i 's|travis:x:\(.*\):|travis:x:\\1:testrunner|g' /etc/group
+sudo sed -i 's|travis:x:\(.*\):|travis:x:\1:testrunner|g' /etc/group
 # Maybe unneeded - add the travis user to the testrunner group
 # Maybe unneeded - add the travis user to the testrunner group
-sudo sed -i 's|testrunner:x:\(.*\):|testrunner:x:\\1:travis|g' /etc/group
+sudo sed -i 's|testrunner:x:\(.*\):|testrunner:x:\1:travis|g' /etc/group
 # Need to add testrunner to the sudoers group AND default him to a sudoers
 # Need to add testrunner to the sudoers group AND default him to a sudoers
 # because the travis user isn't in the sudo group - he's a sudoer.
 # because the travis user isn't in the sudo group - he's a sudoer.
 echo "testrunner ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee -a /etc/sudoers
 echo "testrunner ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee -a /etc/sudoers