fcgi: fix test
Closes #46221. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
c292bac96f
commit
5d5db0505d
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Fcgi < Formula
|
|||
while (FCGI_Accept() >= 0){
|
||||
printf("Request number %d running on host %s", ++count, getenv("SERVER_HOSTNAME"));}}
|
||||
EOS
|
||||
system ENV.cc, "testfile.c", "-lfcgi", "-o", "testfile"
|
||||
system ENV.cc, "testfile.c", "-L#{lib}", "-lfcgi", "-o", "testfile"
|
||||
assert_match "Request number 1 running on host", shell_output("./testfile")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue