summaryrefslogtreecommitdiffstats
path: root/tests/data/example-code.c
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2019-08-18 12:36:14 -0400
committerManuel Stoeckl <code@mstoeckl.com>2019-09-10 07:59:50 -0400
commita89a5349af690f87c24abcaafc524f2cfd6e9d24 (patch)
treee8701d68b0a22a64992342d002001e26dceb1caa /tests/data/example-code.c
parentclient: Don't abort when sending a request fails (diff)
downloadwayland-a89a5349af690f87c24abcaafc524f2cfd6e9d24.tar
wayland-a89a5349af690f87c24abcaafc524f2cfd6e9d24.tar.gz
wayland-a89a5349af690f87c24abcaafc524f2cfd6e9d24.tar.bz2
wayland-a89a5349af690f87c24abcaafc524f2cfd6e9d24.tar.lz
wayland-a89a5349af690f87c24abcaafc524f2cfd6e9d24.tar.xz
wayland-a89a5349af690f87c24abcaafc524f2cfd6e9d24.tar.zst
wayland-a89a5349af690f87c24abcaafc524f2cfd6e9d24.zip
tests: Test that send overflow doesn't abort
The new display test runs a client that makes a very large number of trivial requests. After responding to initial setup requests, the server is paused, letting the trivial requests fill up the Unix socket buffer, making further writes to the socket fail. The test then checks that the client sets an appropriate error code, and does not abort or crash. Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
Diffstat (limited to 'tests/data/example-code.c')
0 files changed, 0 insertions, 0 deletions