git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: [PATCH v2] fix 'make test' for HP NonStop

From
Joachim Schmitz <jojo@schmitz-digital.de>
Date
Oct 30, 2012, 09:21 UTC
Message-ID
<005701cdb67f$f8b44d00$ea1ce700$@schmitz-digital.de>
In-Reply-To
<20121029070642.GD5102@sigill.intra.peff.net>
Show 25 quoted lines
> From: Jeff King [mailto:peff@peff.net]
> Sent: Monday, October 29, 2012 8:07 AM
> To: Joachim Schmitz
> Cc: git@vger.kernel.org
> Subject: Re: [PATCH v2] fix 'make test' for HP NonStop
> 
> On Thu, Oct 25, 2012 at 12:57:10PM +0200, Joachim Schmitz wrote:
> 
> > diff --git a/Makefile b/Makefile
> > index f69979e..35380dd 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -1381,6 +1381,15 @@ ifeq ($(uname_S),NONSTOP_KERNEL)
> > 	MKDIR_WO_TRAILING_SLASH = YesPlease
> > 	# RFE 10-120912-4693 submitted to HP NonStop development.
> > 	NO_SETITIMER = UnfortunatelyYes
> > +
> > +	# for 'make test'
> > +	# some test don't work with /bin/diff, some fail with /bin/tar
> > +	# some need bash, and some need /usr/local/bin in PATH first
> > +	SHELL_PATH=/usr/local/bin/bash
> > +	SANE_TOOL_PATH=/usr/local/bin
> 
> I think we can drop these comments, as the reasoning really should just
> go in the commit message.
OK by me.
 
Show 8 quoted lines
> > +	# as of H06.25/J06.14, we might better use this
> > +	#SHELL_PATH=/usr/coreutils/bin/bash
> > +	#SANE_TOOL_PATH=/usr/coreutils/bin:/usr/local/bin
> 
> Is there any reason not to put both into the default SANE_TOOL_PATH? If
> /usr/coreutils/bin does not exist on older versions, it will be a
> harmless no-op. I guess we arestuck with picking one $SHELL_PATH,
> though.
And because of that have to modify something anyway...
But I don't really mind about an extended SANE_TOOL_PATH
 
> -Peff
Bye, Jojo

-- 8< -- 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>
---

Makefile | 9 +++++++++ 1 file changed, 9 insertions(+)

diff --git a/Makefile b/Makefile
index f69979e..35380dd 100644
--- a/Makefile
+++ b/Makefile
@@ -1381,6 +1381,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 = ;
Previous: Jeff KingNext: Jeff King
Message 3 of 4 in “RE: [PATCH v2] fix 'make test' for HP NonStop”
  1. Joachim SchmitzOct 25, 2012
  2. Jeff KingOct 29, 2012
  3. Joachim SchmitzOct 30, 2012
  4. Jeff KingOct 30, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.