about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--t/cgi.t5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/cgi.t b/t/cgi.t
index 3ae87981..ae7cc730 100644
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -175,11 +175,8 @@ EOF
         like($res->{head}, qr/Status: 200 OK/, "200 response");
         $res = cgi_run("/test/f/blahblah\@example.con.html");
         like($res->{head}, qr/Status: 404 Not Found/, "mid.html miss");
-}
 
-{
-        local $ENV{HOME} = $home;
-        my $res = cgi_run("/test/");
+        $res = cgi_run("/test/");
         like($res->{body}, qr/slashy%2Fasdf%40example\.com/,
                 "slashy URL generated correctly");
 }