Add magic init-script comments (I think from John)
[ZOOM-Perl-moved-to-github.git] / t / 29-events.t
index dabd136..f93739b 100644 (file)
@@ -1,5 +1,3 @@
-# $Id: 29-events.t,v 1.3 2006-11-02 17:04:36 mike Exp $
-
 # Before `make install' is performed this script should be runnable with
 # `make test'. After `make install' it should work as `perl 19-events.t'
 
@@ -14,7 +12,7 @@ ok(ZOOM::event_str(ZOOM::Event::CONNECT) eq "connect",
 
 my($errcode, $errmsg, $addinfo) = (undef, "dummy", "dummy");
 
-my $host = "bagel.indexdata.com/gils";
+my $host = "z3950.indexdata.com/gils";
 my $conn = create ZOOM::Connection(async => 1);
 eval { $conn->connect($host) };
 ok(!$@, "connection to '$host'");
@@ -29,7 +27,7 @@ ok(1, "huge array reference argument rejected");
 
 # See comments in 19-event.t
 assert_event_stream($conn, 
-                   ZOOM::Event::CONNECT,
+                   -(ZOOM::Event::CONNECT),
                    ZOOM::Event::SEND_APDU,
                    ZOOM::Event::SEND_DATA,
                    ZOOM::Event::RECV_DATA,