[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.18-1-697-g2f78b87
ossy at webkit.org
ossy at webkit.org
Wed Jan 20 22:16:04 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 7f4a4842f6e399bf9e6fddd13fee6d47c2f03a64
Author: ossy at webkit.org <ossy at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Jan 7 19:25:25 2010 +0000
Unreviewed. Fix the Mac bots. Why is there no HTTPD PID file?
Patch by Andras Becsi <abecsi at inf.u-szeged.hu> on 2010-01-07
* Scripts/run-webkit-tests:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 0dc6df6..f74c45a 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,5 +1,11 @@
2010-01-07 Andras Becsi <abecsi at inf.u-szeged.hu>
+ Unreviewed. Fix the Mac bots. Why is there no HTTPD PID file?
+
+ * Scripts/run-webkit-tests:
+
+2010-01-07 Andras Becsi <abecsi at inf.u-szeged.hu>
+
Reviewed by Alexey Proskuryakov.
Store HTTPD PID in a variable to fix warnings if for some reason the pidfile gets deleted before httpd terminates.
diff --git a/WebKitTools/Scripts/run-webkit-tests b/WebKitTools/Scripts/run-webkit-tests
index 0e41217..3bdf1a3 100755
--- a/WebKitTools/Scripts/run-webkit-tests
+++ b/WebKitTools/Scripts/run-webkit-tests
@@ -1426,8 +1426,8 @@ sub openHTTPDIfNeeded()
}
die "Timed out waiting for httpd to start" unless $retryCount;
- open (PIDFILE, $httpdPidFile) || die "Cannot open HTTPD pid file.";
- $httpdPid = <PIDFILE>;
+
+ $httpdPid = <PIDFILE> if open(PIDFILE, $httpdPidFile);
chomp $httpdPid if $httpdPid;
close PIDFILE;
$isHttpdOpen = 1;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list