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-03 12:23:00 +0000
commitcc50ca70e3b438577c33a85147e2a68666deaad9 (patch)
tree61580f79d8af26080488ad21d994fdec5af85a29 /Makefile.in
parentd225c4fe44ad94a30a5033e58594f2bebaa674f2 (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) \