OSDN Git Service

Fix some bugs of l7directord.
[ultramonkey-l7/ultramonkey-l7-v2.git] / l7directord / t / 05_config.t
index 251bd85..49ea81a 100644 (file)
@@ -175,7 +175,7 @@ CONFIG
                 'virtualhost' => undef,
                 'quiescent' => undef,
                 'realrecovercallback' => undef,
-                'sorryserver' => undef,
+                'sorryserver' => { ip => '0.0.0.0', port => 0 },
                 'service' => undef,
                 'login' => '',
                 'fallback' => undef,
@@ -206,7 +206,7 @@ CONFIG
                 'virtualhost' => undef,
                 'quiescent' => undef,
                 'realrecovercallback' => undef,
-                'sorryserver' => undef,
+                'sorryserver' => { ip => '0.0.0.0', port => 0 },
                 'service' => undef,
                 'login' => '',
                 'fallback' => undef,
@@ -272,7 +272,7 @@ CONFIG
                 'virtualhost' => undef,
                 'quiescent' => undef,
                 'realrecovercallback' => undef,
-                'sorryserver' => undef,
+                'sorryserver' => { ip => '0.0.0.0', port => 0 },
                 'service' => undef,
                 'login' => '',
                 'fallback' => undef,
@@ -2760,6 +2760,7 @@ CONFIG
     remove_config();
 }
 SKIP: {
+    skip 'various reason...', 2;
     my $input = <<"CONFIG";
 virtual=localhost:http
     module= 'cINSERT --cookie-name 'Monkey' --cookie-expire 864'
@@ -2808,6 +2809,7 @@ CONFIG
     remove_config();
 }
 SKIP: {
+    skip 'various reason...', 2;
     my $input = <<"CONFIG";
 virtual=localhost:http
     module=  'Cinsert --reschedule'