com web/master: copy&paste typo: scripts/mirror-test
| From: | Hannes Magnusson | Date: | Tue, 28 Apr 2015 20:24:06 +0000 |
| Subject: | com web/master: copy&paste typo: scripts/mirror-test | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-21117@lists.php.net to get a copy of this message | ||
Commit: 246fb2dbcb220128eb596b249fe2bf8c8b43aeea
Author: Hannes Magnusson <bjori@php.net> Tue, 28 Apr 2015 20:24:06 +0000
Parents: c519a0fba4dd4c7786b0a7256d189e343ed9d447
Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=246fb2dbcb220128eb596b249fe2bf8c8b43aeea
Log:
copy&paste typo
Changed paths:
M scripts/mirror-test
Diff:
diff --git a/scripts/mirror-test b/scripts/mirror-test
index 1df16c5..d5345a4 100755
--- a/scripts/mirror-test
+++ b/scripts/mirror-test
@@ -338,7 +338,7 @@ while($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
/* bug#26840 Content negotiation screwups; ".html.php" */
- $content = fetch($row["hostname"], "/manual/en/faq.html.php",
$row["hostname"], &$headers);
+ $content = fetch($row["hostname"], "/manual/en/faq.html.php",
$row["hostname"], $headers);
if (!HTTPCODE($headers, "200 OK")) {
FAIL($row, "/mirror-info", "Expected 200 OK -- got:\n\t" .
join("\n\t", $headers));
continue;
@@ -349,7 +349,7 @@ while($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
}
/* bug#31852 Apache multiviews */
- $content = fetch($row["hostname"], "/functions", $row["hostname"],
&$headers);
+ $content = fetch($row["hostname"], "/functions", $row["hostname"],
$headers);
if (!HTTPCODE($headers, "200 OK")) {
FAIL($row, "/functions", "Expected 200 OK -- got:\n\t" .
join("\n\t", $headers));
continue;
@@ -360,7 +360,7 @@ while($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
}
/* bug#35970
var handler */
- $content = fetch($row["hostname"], "/manual/en/ref.var.php",
$row["hostname"], &$headers);
+ $content = fetch($row["hostname"], "/manual/en/ref.var.php",
$row["hostname"], $headers);
if (!HTTPCODE($headers, "200 OK")) {
FAIL($row, "/manual/en/ref.var.php", "Expected 200 OK -- got:\n\t" .
join("\n\t", $headers));
continue;
@@ -371,7 +371,7 @@ while($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
}
/* bug#46423 outbound connections for internal search */
- $content = fetch($row["hostname"],
"/results.php?q=example&p=manual&l=en", $row["hostname"],
&$headers);
+ $content = fetch($row["hostname"],
"/results.php?q=example&p=manual&l=en", $row["hostname"], $headers);
if (!HTTPCODE($headers, "200 OK")) {
FAIL($row, "/manual/en/ref.var.php", "Expected 200 OK -- got:\n\t" .
join("\n\t", $headers));
continue;
@@ -382,7 +382,7 @@ while($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
}
- $content = fetch($row["hostname"], "/mirror-info", $row["hostname"],
&$headers);
+ $content = fetch($row["hostname"], "/mirror-info", $row["hostname"],
$headers);
if (!HTTPCODE($headers, "200 OK")) {
FAIL($row, "/mirror-info", "Expected 200 OK -- got:\n\t" .
join("\n\t", $headers));
continue;