projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39a8a4
)
t/cgi.t: fix broken test for dumb HTTP
author
Eric Wong <e@80x24.org>
Thu, 4 Feb 2016 09:15:54 +0000 (09:15 +0000)
committer
Eric Wong <e@80x24.org>
Thu, 4 Feb 2016 09:16:03 +0000 (09:16 +0000)
This should not be dependent on what is in the users'
$HOME config, oops.
t/cgi.t
patch
|
blob
|
history
diff --git
a/t/cgi.t
b/t/cgi.t
index 4ce6514c74204e7f980962aa01ec3bebabf36886..ebf141604beedaa0d2ecd75b2fac827b91061ff8 100644
(file)
--- 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");