summaryrefslogtreecommitdiff
path: root/bin/worker
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-13 17:24:44 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-13 17:24:44 +0000
commit04ad17a7c55c28e84457e42e1ebed59249a6ddf6 (patch)
treee52582d07a669412843540673b90f2fd3dbd63a4 /bin/worker
parentb3abe4cd1eaebac3950f54e970c915c21a55538d (diff)
Load the protocol tests from the correct location.
Diffstat (limited to 'bin/worker')
-rwxr-xr-xbin/worker21
1 files changed, 11 insertions, 10 deletions
diff --git a/bin/worker b/bin/worker
index 3c9e355..e897c84 100755
--- a/bin/worker
+++ b/bin/worker
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/ruby -Ilib/ -I../lib/
#
# This script will pull tests to complete from the Beanstalk Queue,
# where they will be found in JSON form, and executes them.
@@ -22,15 +22,16 @@ require 'mauve/proto'
#
# Implementation of our protocol tests.
#
-require 'tests/ftp'
-require 'tests/http'
-require 'tests/https'
-require 'tests/jabber'
-require 'tests/ldap'
-require 'tests/ping'
-require 'tests/rsync'
-require 'tests/smtp'
-require 'tests/ssh'
+require 'custodian/protocol-tests/ftp.rb'
+require 'custodian/protocol-tests/http.rb'
+require 'custodian/protocol-tests/https.rb'
+require 'custodian/protocol-tests/jabber.rb'
+require 'custodian/protocol-tests/ldap.rb'
+require 'custodian/protocol-tests/ping.rb'
+require 'custodian/protocol-tests/rsync.rb'
+require 'custodian/protocol-tests/smtp.rb'
+require 'custodian/protocol-tests/ssh.rb'
+