diff options
author | Jan Kneschke <jan@kneschke.de> | 2005-09-01 12:10:59 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2005-09-01 12:10:59 +0000 |
commit | a732e8474826bfce9ce93f693ee81e7d54b75cd9 (patch) | |
tree | 56d7c5d8bb16fb658defec9ccf2f979c8d97fab1 /tests/mod-fastcgi.t | |
parent | 6f3e816fba8d5e39a0fb2b4be5a6394ab0bb4f28 (diff) | |
download | lighttpd-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-x | tests/mod-fastcgi.t | 2 |
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(); |