Backed out changeset 72130137b024
authorHal Wine <hwine@mozilla.com>
Tue, 14 Jan 2014 11:07:22 -0800
changeset 9679 31c8a83b4c90fd39e8c32e6c8be2b0ef9df65aac
parent 9678 72130137b02450fe2049e867f65fe442b15e2ce1
child 9681 eaa14be6324348307ec13999a77de102600faa37
push id7190
push userhwine@mozilla.com
push dateTue, 14 Jan 2014 19:08:37 +0000
backs out72130137b02450fe2049e867f65fe442b15e2ce1
Backed out changeset 72130137b024
test-masters.sh
--- a/test-masters.sh
+++ b/test-masters.sh
@@ -1,31 +1,13 @@
 #!/bin/bash
 # This script has been rewritten in setup_master.py using
 # the -t option.  We use that now
 exit=0
 
-# even though it isn't fully used, the config check does require a valid
-# shared memory setup AT THE DEFAULT LOCATION. If you're running on a
-# laptop, that may not exist. Fail early.
-#
-# OSX note: it "works" (for test-masters purposes) to just create the
-#           directory, even though that isn't how shared memory is
-#           handled on OSX. The directories must be owned by the id
-#           running the tests.
-shm=(/dev/shm/queue/commands /dev/shm/queue/tmp)
-good_shm=true
-for needed_dir in ${shm[@]}; do
-    if ! test -w $needed_dir; then
-        echo 1>&2 "No shm setup, please create writable directory '$needed_dir'"
-        good_shm=false
-    fi
-done
-$good_shm || exit 1
-
 WORK=test-output
 mkdir $WORK 2>/dev/null
 
 actioning="Checking"
 MASTERS_JSON_URL="${MASTERS_JSON_URL:-http://hg.mozilla.org/build/tools/raw-file/tip/buildfarm/maintenance/production-masters.json}"
 
 atexit=()
 trap 'for cmd in "${atexit[@]}"; do eval $cmd; done' EXIT