This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WEB=`pgrep nginx | wc -l` | |
if [ $WEB -eq 0 ]; then | |
WEB=`pgrep apache | wc -l` | |
if [ $WEB -eq 0 ]; then | |
echo "start your damn web server" | |
exit | |
fi | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/modules/migrate_drupal/src/Tests/Table/d6/Access.php b/core/modules/migrate_drupal/src/Tests/Table/d6/Access.php | |
index 5339530..d92a2f5 100644 | |
--- a/core/modules/migrate_drupal/src/Tests/Table/d6/Access.php | |
+++ b/core/modules/migrate_drupal/src/Tests/Table/d6/Access.php | |
@@ -3,11 +3,6 @@ | |
/** | |
* @file | |
* Contains \Drupal\migrate_drupal\Tests\Table\d6\Access. | |
- * | |
- * THIS IS A GENERATED FILE. DO NOT EDIT. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Name of the script used to start the server. | |
# This will be written by this script in the directory you run it in. | |
# Avoid ServerStart.sh because this will collide with FTB Server scripts. | |
CONTROL_SCRIPT="ServerAdminStart.sh" | |
## Memory options | |
# -Xms controls initial memory. | |
# -Xmx controls maximum memory threshold. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$path = 'd'; | |
echo "RouteProvider::getRoutesByPath():\n"; | |
bench('d'); | |
bench('d/d'); | |
bench('d/d/d'); | |
bench('d//d///d'); | |
bench('/d/d/d/d////d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d/d'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was 1 failure: | |
1) Drupal\Tests\Core\Entity\EntityUnitTest::testCacheTags | |
Failed asserting that two arrays are equal. | |
--- Expected | |
+++ Actual | |
@@ @@ | |
Array ( | |
- 0 => 'additional_cache_tag' | |
- 1 => 'aYjF6vMj:1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function method($cache) { | |
$prepared = clone $cache; | |
$prepared->data = unserialize($prepared->data); | |
return $prepared; | |
} | |
$cache = new stdClass(); | |
$cache->data = serialize(['foo' => 'bar']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupalci config:show current | |
---------------- Start config set: CURRENT DCI ENVIRONMENT ---------------- | |
Defined in ~/.drupalci/config: | |
DCI_TESTGROUPS: Ajax | |
DCI_UseLocalCodebase: /var/www/localhost/htdocs/d8/ | |
DCI_PHPVersion: 5.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET http://ec2-54-191-113-78.us-west-2.compute.amazonaws.com/checkout/user/2 returned 0 (0 bytes). Browser PageCacheTagsTestBase.php 51 Drupal\system\Tests\Cache\PageCacheTagsTestBase->verifyPageCache() | |
Page cache MISS for http://ec2-54-191-113-78.us-west-2.compute.amazonaws.com/checkout/user/2. Other PageCacheTagsTestBase.php 53 Drupal\system\Tests\Cache\PageCacheTagsTestBase->verifyPageCache() | |
Page cache HIT for http://ec2-54-191-113-78.us-west-2.compute.amazonaws.com/checkout/user/2. | |
[18:35:40] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_1145698.pifr_simpletest.2504513-24.patch.1441848940.log) | |
[18:35:40] Review timestamp: (Wed, 09/09/2015 - 18:35) | |
[18:35:40] Review host: (ec2-54-191-113-78) | |
[18:35:40] Operations:Array | |
( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class SecuredRedirectResponseTest extends UnitTestCase { | |
public function testHeaderBag() { | |
$headers = ['test']; | |
$bag1 = new ResponseHeaderBag($headers); | |
$bag2 = new ResponseHeaderBag($bag1->allPreserveCase()); | |
$this->assertEquals($bag1->allPreserveCase(), $bag2->allPreserveCase()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class myTest extends BrowserTestBase { | |
/** | |
* @{@inheritdoc} | |
*/ | |
protected function tearDown() { | |
if (function_exists('_drupal_shutdown_function')) { | |
_drupal_shutdown_function(); |