summaryrefslogtreecommitdiff
path: root/tests/mod-fastcgi.t
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-09-01 12:10:59 +0000
committerJan Kneschke <jan@kneschke.de>2005-09-01 12:10:59 +0000
commita732e8474826bfce9ce93f693ee81e7d54b75cd9 (patch)
tree56d7c5d8bb16fb658defec9ccf2f979c8d97fab1 /tests/mod-fastcgi.t
parent6f3e816fba8d5e39a0fb2b4be5a6394ab0bb4f28 (diff)
downloadlighttpd-git-a732e8474826bfce9ce93f693ee81e7d54b75cd9.tar.gz
use netstat to check if a process is listening on port 1026
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@673 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/mod-fastcgi.t')
-rwxr-xr-xtests/mod-fastcgi.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t
index a5a88a3c..c6acec7e 100755
--- a/tests/mod-fastcgi.t
+++ b/tests/mod-fastcgi.t
@@ -15,7 +15,7 @@ my $tf = LightyTest->new();
my $t;
SKIP: {
- skip "no PHP running on port 1026", 28 if $tf->pidof("php") == -1;
+ skip "no PHP running on port 1026", 28 unless $tf->listening_on(1026);
ok($tf->start_proc == 0, "Starting lighttpd") or die();