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

Re: Breaking t1510-repo-setup.sh tests in pu

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Nov 25, 2010, 11:40 UTC
Message-ID
<AANLkTikvXhKoRg4a0FuyW8cG45b6AM9+NbbHuJQWtb4L@mail.gmail.com>
In-Reply-To
<AANLkTim=_0WiphBv-RBhJ2i9rGzXvz8yKcZcm_7pYXFc@mail.gmail.com>
2010/11/25 Ævar Arnfjörð Bjarmason <avarab@gmail.com>:
Show 15 quoted lines
> All the breakages seem to be due to path differences:
>
>    --- expected    2010-11-25 09:53:46.000000000 +0000
>    +++ result      2010-11-25 09:53:46.000000000 +0000
>    @@ -1,4 +1,4 @@
>    -setup: git_dir: /home/avar/g/git/t/trash directory.t1510-repo-setup/3/.git
>    -setup: worktree: /home/avar/g/git/t/trash directory.t1510-repo-setup/3/wt
>    +setup: git_dir: .git
>    +setup: worktree: /home/avar/g/git/t/trash directory.t1510-repo-setup/3
>     setup: cwd: /home/avar/g/git/t/trash directory.t1510-repo-setup/3
>     setup: prefix: (null)
>    not ok - 24 #3: GIT_DIR, GIT_WORK_TREE=wt at root
>
> This is probably due to Nguyễn's recent work. But I'm not sure.
>

Interesting. That looks like real breakage. I have just run the tests on pu (f4b0626). It passed. Can you send me the entire log and /tmp/t1510-trace.log after applying this patch?

diff --git a/t/t1510-repo-setup.sh b/t/t1510-repo-setup.sh
index 0343045..446eb4d 100755
--- a/t/t1510-repo-setup.sh
+++ b/t/t1510-repo-setup.sh
@@ -4,6 +4,8 @@ test_description='Tests of cwd/prefix/worktree/gitdir
setup in all cases'

 . ./test-lib.sh

+export GIT_TRACE=/tmp/t1510-trace.log
+
 #
 # A few rules for repo setup:
 #
-- 
Duy
Previous: Ævar Arnfjörð BjarmasonNext: Nguyen Thai Ngoc Duy
Message 2 of 4 in “Breaking t1510-repo-setup.sh tests in pu”
  1. Ævar Arnfjörð BjarmasonNov 25, 2010
  2. Nguyen Thai Ngoc DuyNov 25, 2010
  3. Nguyen Thai Ngoc DuyNov 26, 2010
  4. Johannes SixtNov 26, 2010

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.