fix 'make test' for HP NonStop
authorJoachim Schmitz <jojo@schmitz-digital.de>
Tue, 30 Oct 2012 09:21:40 +0000 (10:21 +0100)
committerJeff King <peff@peff.net>
Tue, 30 Oct 2012 11:12:18 +0000 (07:12 -0400)
This fixes the vast majority of test failures on HP NonStop.
Some test don't work with /bin/diff, some fail with /bin/tar,
so let's put /usr/local/bin in PATH first.
Some tests fail with /bin/sh (link to /bin/ksh) so use bash instead

Signed-off-by: Joachim Schmitz <jojo@schmitz-digital.de>
Signed-off-by: Jeff King <peff@peff.net>
Makefile

index 33a48ac87724a91944f887f7ed8c414c78687bfd..1f81685f06153d611026a93188166f653ea115c0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1380,6 +1380,10 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
        MKDIR_WO_TRAILING_SLASH = YesPlease
        # RFE 10-120912-4693 submitted to HP NonStop development.
        NO_SETITIMER = UnfortunatelyYes
+       SANE_TOOL_PATH=/usr/coreutils/bin:/usr/local/bin
+       SHELL_PATH=/usr/local/bin/bash
+       # as of H06.25/J06.14, we might better use this
+       #SHELL_PATH=/usr/coreutils/bin/bash
 endif
 ifneq (,$(findstring MINGW,$(uname_S)))
        pathsep = ;