8000 minor #29611 Adjust tests to work in the armhf architecture. Fixes #2… · symfony/symfony@d1bf595 · GitHub
[go: up one dir, main page]

Skip to content

Commit d1bf595

Browse files
minor #29611 Adjust tests to work in the armhf architecture. Fixes #29281. (panlinux)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #29611). Discussion ---------- Adjust tests to work in the armhf architecture. Fixes #29281. | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | can't verify | Fixed tickets | #29281 | License | MIT We saw VarDumper errors in armhf, but they are hard to reproduce interactively. In the issue report, it was suggested to replace %d with %i, and that's what I did in this branch. I'm sorry I can't give you confidence that this fixes the issue, and I'm just filing this PR because it was suggested and I'm trying to be helpful. I'm hoping there is CI here that can verify it. Commits ------- b9359a5 Adjust tests to work in the armhf architecture. Fixes #29281.
2 parents fac85a1 + b9359a5 commit d1bf595

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getCastFileInfoTests()
3535
aTime: %s-%s-%d %d:%d:%d
3636
mTime: %s-%s-%d %d:%d:%d
3737
cTime: %s-%s-%d %d:%d:%d
38-
inode: %d
38+
inode: %i
3939
size: %d
4040
perms: 0%d
4141
owner: %d
@@ -85,7 +85,7 @@ public function testCastFileObject()
8585
aTime: %s-%s-%d %d:%d:%d
8686
mTime: %s-%s-%d %d:%d:%d
8787
cTime: %s-%s-%d %d:%d:%d
88-
inode: %d
88+
inode: %i
8989
size: %d
9090
perms: 0%d
9191
owner: %d
@@ -105,7 +105,7 @@ public function testCastFileObject()
105105
maxLineLen: 0
106106
fstat: array:26 [
107107
"dev" => %d
108-
"ino" => %d
108+
"ino" => %i
109109
"nlink" => %d
110110
"rdev" => 0
111111
"blksize" => %i

0 commit comments

Comments
 (0)
0