git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Torsten Bögershausen" <tboegi@web.de>
To: Git Mailing List <git@vger.kernel.org>
Subject: t7406-submodule-update shaky ?
Date: Sun, 22 Jul 2018 23:05:02 +0200	[thread overview]
Message-ID: <208b2ede-4833-f062-16f2-f35b8a8ce099@web.de> (raw)

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
'



             reply	other threads:[~2018-07-22 21:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-22 21:05 Torsten Bögershausen [this message]
2018-07-23 17:01 ` t7406-submodule-update shaky ? Stefan Beller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=208b2ede-4833-f062-16f2-f35b8a8ce099@web.de \
    --to=tboegi@web.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).