]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Replace `pwd` with make variable in regress cmd.
authorDarren Tucker <dtucker@dtucker.net>
Wed, 29 Sep 2021 07:26:50 +0000 (17:26 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 29 Sep 2021 07:26:50 +0000 (17:26 +1000)
Makefile.in

index c04f25c9644630a1348bfdfb3ed6640d9396dce4..a987bf5d4a5624dbe9ac7e98efe52fd9c70bf436 100644 (file)
@@ -714,8 +714,8 @@ tests:      file-tests t-exec interop-tests unit
 unit: regress-unit-binaries
        cd $(srcdir)/regress || exit $$?; \
        $(MAKE) \
+               .CURDIR="$(abs_top_srcdir)/regress" \
                .OBJDIR="$(BUILDDIR)/regress" \
-               .CURDIR="`pwd`" \
                OBJ="$(BUILDDIR)/regress" \
                $@ && echo $@ tests passed
 
@@ -723,10 +723,10 @@ interop-tests t-exec file-tests: regress-prep regress-binaries $(TARGETS)
        cd $(srcdir)/regress || exit $$?; \
        EGREP='@EGREP@' \
        $(MAKE) \
+               .CURDIR="$(abs_top_srcdir)/regress" \
                .OBJDIR="$(BUILDDIR)/regress" \
-               .CURDIR="`pwd`" \
                BUILDDIR="$(BUILDDIR)" \
-               OBJ="$(BUILDDIR)/regress/" \
+               OBJ="$(BUILDDIR)/regress" \
                PATH="$(BUILDDIR):$${PATH}" \
                TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \
                TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \