projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe93141
)
`curl` does not like `=` between an option and its value.
author
David E. Wheeler
<
[email protected]
>
Tue, 24 Sep 2013 22:30:21 +0000
(15:30 -0700)
committer
David E. Wheeler
<
[email protected]
>
Tue, 24 Sep 2013 22:30:21 +0000
(15:30 -0700)
This gets the `t/02_new_version_cp.t` to pass on systems that use `curl`.
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index ad5274aafc84fc178dff1e92b4e93dbadd78020e..de9e1537941f487343ab7af0da0fccc770238ec5 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-72,7
+72,7
@@
our $get_method_timeout = 30;
our @get_methods = (
"GET -t $get_method_timeout -H 'Pragma: no-cache'",
"wget --quiet --timeout=$get_method_timeout --no-cache -O -",
- "curl --silent --max-time
=
$get_method_timeout -H 'Pragma: no-cache'",
+ "curl --silent --max-time
$get_method_timeout -H 'Pragma: no-cache'",
"fetch -q -T $get_method_timeout -o -",
"lynx --connect-timeout=$get_method_timeout --dump",
'links -dump',