Skip to content

Commit 795a00c

Browse files
[Lock] fix locale dependent test case
1 parent a76c48a commit 795a00c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)