about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-02-04 09:15:54 +0000
committerEric Wong <e@80x24.org>2016-02-04 09:16:03 +0000
commite31f5bf979f8316cd6156410357026b3df392f81 (patch)
treeb929e296174b97d007c4aa20bfd3fdf4c8d5d2db /t
parentd39a8a440c9b5c59e1fa058467f64034f8974e0e (diff)
downloadpublic-inbox-e31f5bf979f8316cd6156410357026b3df392f81.tar.gz
This should not be dependent on what is in the users'
$HOME config, oops.
Diffstat (limited to 't')
-rw-r--r--t/cgi.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/cgi.t b/t/cgi.t
index 4ce6514c..ebf14160 100644
--- a/t/cgi.t
+++ b/t/cgi.t
@@ -104,6 +104,7 @@ EOF
 
 # dumb HTTP support
 {
+        local $ENV{HOME} = $home;
         my $path = "/test/info/refs";
         my $res = cgi_run($path);
         like($res->{head}, qr/Status:\s*200/i, "info/refs readable");