Subject: | t/live_verify_address.t fails test 6 Content contains "VAR_logged=n.a." |
My suspicion is that $ENV{REMOTE_ADDRESS} is being ignored and is just being mapped to 127.0.0.1.
I hacked up the Root.pm in a few places to report the address and it does appear to be doing just that.
Will keep poking.
I hacked up the Root.pm in a few places to report the address and it does appear to be doing just that.
Will keep poking.
t/live_verify_address.t .....1..12ok 1 - GET http://localhost/loginok 2 - Content contains "logged in"ok 4 - Content contains "session variable set"ok 5 - GET http://localhost/get_session_variable/loggednot ok 6 - Content contains "VAR_logged=n.a."# Failed test 'Content contains "VAR_logged=n.a."'# at t/live_verify_address.t line 41.# searched: "VAR_logged=in"# can't find: "VAR_logged=n.a."# LCSS: "VAR_logged="# LCSS context: "VAR_logged=in"[debug] 127.0.0.1ok 7 - GET http://localhost/login_without_addressok 8 - Content contains "logged in (without address)"ok 10 - Content contains "session variable set"ok 11 - GET http://localhost/get_session_variable/loggedok 12 - Content contains "VAR_logged=in"# Looks like you failed 1 test of 12.Dubious, test returned 1 (wstat 256, 0x100)Failed 1/12 subtests