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

Re: git-remote SEGV on t5505 test.

From
SNSungHyun Nam <namsh@posdata.co.kr>
Date
Jul 18, 2008, 05:44 UTC
Message-ID
<48802DCD.2090704@posdata.co.kr>
In-Reply-To
<7vsku7es3n.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 6 quoted lines
> SungHyun Nam <namsh@posdata.co.kr> writes:
> 
>> And the 'skip_prefix()' returns NULL in this case.
>> (The old skip_prefix() never returns NULL).
> 
> Thanks.  Something like this?

With this patch, 'make test' passed all the tests successfully. I ran test with GIT_SKIP_TESTS="t90?? t91?? t92?? t94??".

Regards, namsh

P.S I skipped svn/cvs test because I don't need them (And no
     svn/cvs installed).  But, I skipped send-email test because it
     fails.  I thought I don't need to use send-email.
     And now I check what caused fail.  The problem was this test
     script generates 'fake.sendmail' which uses '/bin/sh'.
     Is it possible that we can use 'SHELL_PATH' here?  Or could
     you apply the patch below?
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index de5b980..0320aa1 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -16,7 +16,7 @@ test_expect_success \
      '(echo "#!/bin/sh"
        echo shift
        echo output=1
-      echo "while test -f commandline\$output; do
output=\$((\$output+1)); done"
+      echo "while test -f commandline\$output; do output=\`expr
\$output + 1\`; done"
        echo for a
        echo do
        echo "  echo \"!\$a!\""
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 7 in “git-remote SEGV on t5505 test.”
  1. SungHyun NamJul 18, 2008
  2. Junio C HamanoJul 18, 2008
  3. SungHyun NamJul 18, 2008
  4. Re* git-remote SEGV on t5505 test.Junio C Hamano, Jul 18, 2008
  5. Junio C HamanoJul 18, 2008
  6. SungHyun NamJul 18, 2008
  7. Junio C HamanoJul 18, 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.