Changeset 6acb955f9bb091a111b979a87460e9b5357d55b7
- Timestamp:
- 07/08/11 05:42:20
(2 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1310103740 -0400
- git-parent:
[2258f49eb9f59dec8623de48d13e1cc78d73dfae]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1310103740 -0400
- Message:
cleanup tests... all pass
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r239594a |
r6acb955 |
|
| 1 | | use Test::More tests => 9; |
|---|
| | 1 | use Test::More tests => 10; |
|---|
| 2 | 2 | use XML::LibXML; |
|---|
| 3 | 3 | use XML::LibXML::XPathContext; |
|---|
| … | … | |
| 64 | 64 | is($xpc->findvalue('/check/state/state', $doc), 'good', 'results'); |
|---|
| 65 | 65 | |
|---|
| | 66 | ok(stop_noit, 'stopping noit'); |
|---|
| 66 | 67 | 1; |
|---|
| rc35ae3a |
r6acb955 |
|
| 1 | | use Test::More tests => 9; |
|---|
| | 1 | use Test::More tests => 10; |
|---|
| 2 | 2 | use XML::LibXML; |
|---|
| 3 | 3 | use XML::LibXML::XPathContext; |
|---|
| … | … | |
| 33 | 33 | is(@nonoits, 0, 'removed noit'); |
|---|
| 34 | 34 | |
|---|
| | 35 | ok(stop_stratcon, 'stopping stratcon'); |
|---|
| 35 | 36 | 1; |
|---|
| rc35ae3a |
r6acb955 |
|
| 1 | | use Test::More tests => 3; |
|---|
| | 1 | use Test::More tests => 4; |
|---|
| 2 | 2 | use XML::LibXML; |
|---|
| 3 | 3 | use XML::LibXML::XPathContext; |
|---|
| … | … | |
| 23 | 23 | }; |
|---|
| 24 | 24 | like($@, qr/SSL/, 'request fails with revoked key'); |
|---|
| | 25 | ok(stop_noit, 'stopping noit'); |
|---|
| 25 | 26 | |
|---|
| 26 | 27 | 1; |
|---|
| r4157a34 |
r6acb955 |
|
| 1 | | use Test::More tests => 6; |
|---|
| | 1 | use Test::More tests => 7; |
|---|
| 2 | 2 | use XML::LibXML; |
|---|
| 3 | 3 | use XML::LibXML::XPathContext; |
|---|
| … | … | |
| 22 | 22 | isn't($ip, "0.0.0.0", 'is not 0.0.0.0'); |
|---|
| 23 | 23 | undef $conn; |
|---|
| | 24 | ok(stop_stratcon, 'stopping stratcon'); |
|---|
| 24 | 25 | |
|---|
| 25 | 26 | 1; |
|---|
| r49b8645 |
r6acb955 |
|
| 1 | | use Test::More tests => 3; |
|---|
| | 1 | use Test::More tests => 4; |
|---|
| 2 | 2 | use XML::LibXML; |
|---|
| 3 | 3 | use XML::LibXML::XPathContext; |
|---|
| … | … | |
| 28 | 28 | |
|---|
| 29 | 29 | is($r[0], 403, 'add selfcheck'); |
|---|
| 30 | | |
|---|
| | 30 | ok(stop_noit, 'stopping noit'); |
|---|
| 31 | 31 | 1; |
|---|
| r485f3e7 |
r6acb955 |
|
| 1 | | use Test::More tests => 26; |
|---|
| | 1 | use Test::More tests => 32; |
|---|
| 2 | 2 | use WWW::Curl::Easy; |
|---|
| 3 | 3 | use JSON; |
|---|
| … | … | |
| 158 | 158 | is($json->{r}->{check_module} || '', 'selfcheck', 'modules is set'); |
|---|
| 159 | 159 | |
|---|
| | 160 | ok(stop_noit, 'shutdown noit'); |
|---|
| | 161 | ok(stop_stratcon, 'shutdown stratcon'); |
|---|
| 160 | 162 | 1; |
|---|
| r485f3e7 |
r6acb955 |
|
| 32 | 32 | eval { |
|---|
| 33 | 33 | local $SIG{ALRM} = sub { die; }; |
|---|
| | 34 | delete $opts->{timeout}; |
|---|
| 34 | 35 | my $frame = $self->{stomp}->receive_frame(); |
|---|
| 35 | 36 | if ($frame) { |
|---|
| r209711b |
r6acb955 |
|
| 132 | 132 | foreach(@logtypes) { |
|---|
| 133 | 133 | $opts->{logs_error}->{$_} ||= 'false'; |
|---|
| 134 | | $opts->{logs_debug}->{$_} ||= 'false'; |
|---|
| | 134 | $opts->{logs_debug}->{$_} ||= 'true'; |
|---|
| 135 | 135 | } |
|---|
| 136 | 136 | |
|---|