~gmb/charms/oneiric/buildbot-slave/use-builders

« back to all changes in this revision

Viewing changes to tests/200_buildbot-slave.test

  • Committer: Graham Binns
  • Date: 2012-02-02 11:24:00 UTC
  • Revision ID: graham@canonical.com-20120202112400-23nfz411ztucx66s
Update the install hook to return the exit code of whatever script it runs. Also update tests to be more useful.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
slave_connected=$(
41
41
    wget --tries=100 --timeout=6 http://$master_host:8010/buildslaves -O - \
42
 
     -a $datadir/wget.log | grep -q 'connected')
 
42
     -a $datadir/wget.log | grep -q 'Idle')
43
43
 
44
44
if [ -z $slave_connected ]; then
45
45
    echo "ERROR: The slave is not connected after 600 seconds."