xserver/test/bigreq
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Enrico Weigelt, metux IT consult 3b008dc20d test/bigreq: check write() return in request-length
The bigreq request-length test ignored the return value of the write()
that sends the hand-built request, which gcc flags as -Werror=unused-result
(seen on the gentoo lane once -Dwerror is enabled). Treat a short/failed
write as the "something else went wrong" case (return 2) — the test can't
have exercised the bug if the request never went out.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-07-01 11:40:27 +02:00
..
meson.build test: Fix build dependency for bigreq test 2017-12-08 11:36:24 -05:00
request-length.c test/bigreq: check write() return in request-length 2026-07-01 11:40:27 +02:00