diff options
| author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-06-15 22:56:37 +0000 |
|---|---|---|
| committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-06-30 20:01:20 +0000 |
| commit | d2bcffc470cf37dbdeb4d1ed46819360c16d92eb (patch) | |
| tree | dc1565980e8459951fe0ef8b5bf51b2b31ba51b9 /tests/Makefile.am | |
| parent | tests: fix make check for out-of-tree builds (diff) | |
| download | wayland-d2bcffc470cf37dbdeb4d1ed46819360c16d92eb.tar wayland-d2bcffc470cf37dbdeb4d1ed46819360c16d92eb.tar.gz wayland-d2bcffc470cf37dbdeb4d1ed46819360c16d92eb.tar.bz2 wayland-d2bcffc470cf37dbdeb4d1ed46819360c16d92eb.tar.lz wayland-d2bcffc470cf37dbdeb4d1ed46819360c16d92eb.tar.xz wayland-d2bcffc470cf37dbdeb4d1ed46819360c16d92eb.tar.zst wayland-d2bcffc470cf37dbdeb4d1ed46819360c16d92eb.zip | |
tests: test that path names longer than 108 bytes are rejected
These would either overflow the struct sockaddr_un, or
be truncated and leave a non-null-terminated string.
Diffstat (limited to 'tests/Makefile.am')
| -rw-r--r-- | tests/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index fc4611c..bb92c4c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -7,7 +7,8 @@ TESTS = \ list-test \ map-test \ os-wrappers-test \ - sanity-test + sanity-test \ + socket-test check_PROGRAMS = \ $(TESTS) \ @@ -26,6 +27,7 @@ fixed_test_SOURCES = fixed-test.c $(test_runner_src) list_test_SOURCES = list-test.c $(test_runner_src) map_test_SOURCES = map-test.c $(test_runner_src) sanity_test_SOURCES = sanity-test.c $(test_runner_src) +socket_test_SOURCES = socket-test.c $(test_runner_src) fixed_benchmark_SOURCES = fixed-benchmark.c @@ -37,6 +39,7 @@ os_wrappers_test_SOURCES = \ AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS) LDADD = $(top_builddir)/src/libwayland-util.la \ + $(top_builddir)/src/libwayland-client.la \ $(top_builddir)/src/libwayland-server.la \ -lrt -ldl $(FFI_LIBS) |
