git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* t7406-submodule-update shaky ?
@ 2018-07-22 21:05 Torsten Bögershausen
  2018-07-23 17:01 ` Stefan Beller
  0 siblings, 1 reply; 2+ messages in thread
From: Torsten Bögershausen @ 2018-07-22 21:05 UTC (permalink / raw)
  To: Git Mailing List

It seems that t7406 is sometimes shaky - when checking stderr in test 
case 4.

The order of the submodules may vary, sorting the stderr output makes it

more reliable (and somewhat funny to read).

Does anybody have a better idea ?


[]

cat <<EOF >expect2
Cloning into '/Users/tb/NoBackup/projects/git/git.pu/t/trash 
directory.t7406-submodule-update/recursivesuper/super/merging'...
Cloning into '/Users/tb/NoBackup/projects/git/git.pu/t/trash 
directory.t7406-submodule-update/recursivesuper/super/none'...
Cloning into '/Users/tb/NoBackup/projects/git/git.pu/t/trash 
directory.t7406-submodule-update/recursivesuper/super/rebasing'...
Cloning into '/Users/tb/NoBackup/projects/git/git.pu/t/trash 
directory.t7406-submodule-update/recursivesuper/super/submodule'...
Submodule 'merging' (/Users/tb/NoBackup/projects/git/git.pu/t/trash 
directory.t7406-submodule-update/merging) registered for path 
'../super/merging'
Submodule 'none' (/Users/tb/NoBackup/projects/git/git.pu/t/trash 
directory.t7406-submodule-update/none) registered for path '../super/none'
Submodule 'rebasing' (/Users/tb/NoBackup/projects/git/git.pu/t/trash 
directory.t7406-submodule-update/rebasing) registered for path 
'../super/rebasing'
Submodule 'submodule' (/Users/tb/NoBackup/projects/git/git.pu/t/trash 
directory.t7406-submodule-update/submodule) registered for path 
'../super/submodule'
done.
done.
done.
done.
EOF

test_expect_success 'submodule update --init --recursive from 
subdirectory' '
     git -C recursivesuper/super reset --hard HEAD^ &&
     (cd recursivesuper &&
      mkdir tmp &&
      cd tmp &&
      git submodule update --init --recursive ../super >../../actual 
2>../../actual2U &&
      sort <../../actual2U >../../actual2
     ) &&
     test_i18ncmp expect actual &&
     test_i18ncmp expect2 actual2
'



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: t7406-submodule-update shaky ?
  2018-07-22 21:05 t7406-submodule-update shaky ? Torsten Bögershausen
@ 2018-07-23 17:01 ` Stefan Beller
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Beller @ 2018-07-23 17:01 UTC (permalink / raw)
  To: Torsten Bögershausen; +Cc: git

On Sun, Jul 22, 2018 at 2:05 PM Torsten Bögershausen <tboegi@web.de> wrote:
>
> It seems that t7406 is sometimes shaky - when checking stderr in test
> case 4.
>
> The order of the submodules may vary, sorting the stderr output makes it
>
> more reliable (and somewhat funny to read).
>
> Does anybody have a better idea ?

DScho just posted a fix for this, see:
https://public-inbox.org/git/pull.12.git.gitgitgadget@gmail.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-23 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-22 21:05 t7406-submodule-update shaky ? Torsten Bögershausen
2018-07-23 17:01 ` Stefan Beller

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).