diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2006-09-29 14:54:37 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2006-09-29 14:54:37 +0000 |
| commit | 5b19a8a75d9a8b1e831fdbc3795a60bb9d2aa10a (patch) | |
| tree | aa99fcfcd6d2e273662671f10f58adb580e93052 /qpid/ruby/test.rb | |
| parent | 2cf42062c6e6ea1814225218aca63b36439ab3c8 (diff) | |
| download | qpid-python-5b19a8a75d9a8b1e831fdbc3795a60bb9d2aa10a.tar.gz | |
moved ruby code into a qpid package
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@451317 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/ruby/test.rb')
| -rw-r--r-- | qpid/ruby/test.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/qpid/ruby/test.rb b/qpid/ruby/test.rb index d247e333e6..21b56270eb 100644 --- a/qpid/ruby/test.rb +++ b/qpid/ruby/test.rb @@ -14,8 +14,16 @@ # limitations under the License. # -require "client" -require "spec" +require "qpid/client" +require "qpid/spec" + +def die(msg) + puts msg + exit(1) +end + +specfile = $*[0] +die("usage: test.rb <spec file>") if specfile.nil? c = Qpid::Client.new("0.0.0.0", 5672, Spec.load($*[0])) c.start({"LOGIN" => "guest", "PASSWORD" => "guest"}) |
