summaryrefslogtreecommitdiffstats
path: root/tests/socket-test.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Quiet warningKristian Høgsberg2012-08-291-1/+2
|
* socket-test: don't try to be clever, fail if no XDG_RUNTIME_DIR is setPhilipp Brüschweiler2012-08-141-11/+10
| | | | | | | | Not only setenv(), also putenv() allocates memory on my system (glibc 2.16.0). Just fail with a clear message if XDG_RUNTIME_DIR is not set. https://bugs.freedesktop.org/show_bug.cgi?id=52618
* tests: test that path names longer than 108 bytes are rejectedDylan Noblesmith2012-06-301-0/+82
These would either overflow the struct sockaddr_un, or be truncated and leave a non-null-terminated string.