summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-01-03 12:09:42 +0000
committerColin Watson <cjwatson@debian.org>2017-01-16 15:02:54 +0000
commit6ca09916439a58f0789deb79960ee5defc05a946 (patch)
tree2dfc8dc5a56ce659c62c7120fb001671e94ba3b4 /Makefile.in
parent166f04046035ffca27c820649df360eaa5dd1b99 (diff)
Create mux socket for regress in temp directory
In some setups, creating the socket under OBJ may result in a path that is too long for a Unix domain socket. Add a helper to let us portably create a temporary directory instead. Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=2660 Last-Update: 2017-01-03 Patch-Name: regress-mktemp.patch
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index a6eb81ec2..a00347e24 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -459,6 +459,10 @@ regress/check-perm$(EXEEXT): $(srcdir)/regress/check-perm.c $(REGRESSLIBS)
459 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/check-perm.c \ 459 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/check-perm.c \
460 $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) 460 $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
461 461
462regress/mkdtemp$(EXEEXT): $(srcdir)/regress/mkdtemp.c $(REGRESSLIBS)
463 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/mkdtemp.c \
464 $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
465
462UNITTESTS_TEST_HELPER_OBJS=\ 466UNITTESTS_TEST_HELPER_OBJS=\
463 regress/unittests/test_helper/test_helper.o \ 467 regress/unittests/test_helper/test_helper.o \
464 regress/unittests/test_helper/fuzz.o 468 regress/unittests/test_helper/fuzz.o
@@ -557,6 +561,7 @@ regress-binaries: regress/modpipe$(EXEEXT) \
557 regress/setuid-allowed$(EXEEXT) \ 561 regress/setuid-allowed$(EXEEXT) \
558 regress/netcat$(EXEEXT) \ 562 regress/netcat$(EXEEXT) \
559 regress/check-perm$(EXEEXT) \ 563 regress/check-perm$(EXEEXT) \
564 regress/mkdtemp$(EXEEXT) \
560 regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ 565 regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \
561 regress/unittests/sshkey/test_sshkey$(EXEEXT) \ 566 regress/unittests/sshkey/test_sshkey$(EXEEXT) \
562 regress/unittests/bitmap/test_bitmap$(EXEEXT) \ 567 regress/unittests/bitmap/test_bitmap$(EXEEXT) \