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

Re: [PATCH] t: Replace 'perl' by $PERL_PATH

From
Torsten Bögershausen <tboegi@web.de>
Date
Jun 17, 2012, 06:36 UTC
Message-ID
<4FDD7AE6.6000000@web.de>
In-Reply-To
<1339441313-5296-1-git-send-email-vfr@lyx.org>

Hej, Does this work for you?

None of the 2 patches found on pu do work here:
> a3428205e6d74542d6441baaa29d1cb1d1064d95
>Author: Vincent van Ravesteijn <vfr@lyx.org>
>Date:   Mon Jun 11 19:01:53 2012 +0000
>    t: Replace 'perl' by $PERL_PATH
[165c0e8f0b04b8573e91ead2890870d9e36bb39c] tests: enclose $PERL_PATH in duoble quotes

t4030 seems to be broken. When I try to debug it, the $PERL_PATH seems to be empty:

------------------ ./t4030-diff-textconv.sh --verbose | less

The ok 2 - file is considered binary by porcelain
expecting success: 
        git diff-tree -p HEAD^ HEAD >diff &&
:/Users/tb/projects/git/git.git/t/trash directory.t4030-diff-textconv/hexdump: line 2: -e: command not found
------------------
And the hexdump line 2 uses $PERL_PATH, which is empty: 
--------------------
t/trash directory.t4030-diff-textconv> cat  hexdump 
#!/bin/sh
$PERL_PATH -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' < "$1"
tb@birne:~/projects/git/git.git/t/trash directory.t4030-diff-textconv> 
-------------------
Can anybody help to find out what is going on?
Previous: Vincent van RavesteijnNext: Junio C Hamano
Message 11 of 15 in “t: Replace 'perl' by $PERL_PATH”
  1. t: Replace 'perl' by $PERL_PATHvfr@lyx.org, Jun 11, 2012
  2. Junio C HamanoJun 11, 2012
  3. Jeff KingJun 12, 2012
  4. Junio C HamanoJun 12, 2012
  5. Jeff KingJun 12, 2012
  6. Erik Faye-LundJun 12, 2012
  7. Junio C HamanoJun 12, 2012
  8. Junio C HamanoJun 12, 2012
  9. Jeff KingJun 12, 2012
  10. Vincent van RavesteijnJun 12, 2012
  11. Torsten BögershausenJun 17, 2012
  12. Junio C HamanoJun 17, 2012
  13. Torsten BögershausenJun 17, 2012
  14. Junio C HamanoJun 17, 2012
  15. Torsten BögershausenJun 20, 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.