Skip to content

Commit a16a063

Browse files
committed
Use TIOCSTI instead of TIOCGWINSZ in Glibc test
validation-test/stlib/Glibc.swift was failing on powerpc64le due to the missing TIOCGWINSZ symbol. Since (from what I can tell) this is just a random tty ioctl, replace it with a different ioctl that should be more commonly defined. Signed-off-by: Russell Currey <[email protected]>
1 parent c69b824 commit a16a063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/stdlib/Glibc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ GlibcTestSuite.test("errno") {
2727
var GlibcIoctlConstants = TestSuite("GlibcIoctlConstants")
2828

2929
GlibcIoctlConstants.test("tty ioctl constants availability") {
30-
let aConstant = TIOCGWINSZ
30+
let aConstant = TIOCSTI
3131
}
3232

3333
runAllTests()

0 commit comments

Comments
 (0)