Skip to content

Commit e665da0

Browse files
[Lock] fix locale dependent test case
1 parent b9a3c87 commit e665da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Lock/Tests/Store/SemaphoreStoreTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function testResourceRemoval()
5050

5151
private function getOpenedSemaphores()
5252
{
53-
$lines = explode(PHP_EOL, trim(`ipcs -su`));
53+
$lines = explode(PHP_EOL, trim(`LC_ALL=C ipcs -su`));
5454
if ('------ Semaphore Status --------' !== $lines[0]) {
5555
throw new \Exception('Failed to extract list of opend semaphores. Expect a Semaphore status, got '.implode(PHP_EOL, $lines));
5656
}

0 commit comments

Comments
 (0)