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

Make test on AIX

From
CCCraig L. Ching <cching@mqsoftware.com>
Date
Jun 27, 2008, 21:13 UTC
Message-ID
<63BEA5E623E09F4D92233FB12A9F794302389D09@emailmn.mqsoftware.com>
Hi all,

I just got through a rather painful build and install of 1.5.6.1 on AIX and I was wondering if anyone has any clues on how to get the tests to run a bit better there.

The first thing I encountered was that because the tests all use #!/bin/sh the exit code was not what the tests expected. So I ended up running 'make SHELL=`which bash` all' directly in the git/t/ directory. That seemed to shake out and work for most of the tests except for t/t7502-commit.sh. Try as I might, I could not get SHELL_PATH set to anything but /bin/sh except to hard-code the SHELL_PATH in this script.

Am I missing something? Is there an easier way to get the test suite to work? If so, I appreciate any advice. If not, does anyone have any ideas on how I might fix this and create a patch for git to submit? I don't claim to be a make or bash expert, so go easy on me if I've missed something obvious ;-)

Any help appreciated!

Cheers, Craig

Next: Jeff King
Message 1 of 3 in “Make test on AIX”
  1. Craig L. ChingJun 27, 2008
  2. Jeff KingJun 28, 2008
  3. Craig L. ChingJun 28, 2008

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.