{"thread":{"id":"48937","subject":"t7406-submodule-update shaky ?","startedAt":"2018-07-22T21:05:23Z","lastAt":"2018-07-23T17:02:08Z","messageCount":2,"participants":["Torsten Bögershausen","Stefan Beller"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"353328","messageId":"208b2ede-4833-f062-16f2-f35b8a8ce099@web.de","threadId":"48937","inReplyTo":null,"subject":"t7406-submodule-update shaky ?","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2018-07-22T21:05:02Z","receivedAt":"2018-07-22T21:05:23Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"It seems that t7406 is sometimes shaky - when checking stderr in test \ncase 4.\n\nThe order of the submodules may vary, sorting the stderr output makes it\n\nmore reliable (and somewhat funny to read).\n\nDoes anybody have a better idea ?\n\n\n[]\n\ncat <<EOF >expect2\nCloning into '/Users/tb/NoBackup/projects/git/git.pu/t/trash \ndirectory.t7406-submodule-update/recursivesuper/super/merging'...\nCloning into '/Users/tb/NoBackup/projects/git/git.pu/t/trash \ndirectory.t7406-submodule-update/recursivesuper/super/none'...\nCloning into '/Users/tb/NoBackup/projects/git/git.pu/t/trash \ndirectory.t7406-submodule-update/recursivesuper/super/rebasing'...\nCloning into '/Users/tb/NoBackup/projects/git/git.pu/t/trash \ndirectory.t7406-submodule-update/recursivesuper/super/submodule'...\nSubmodule 'merging' (/Users/tb/NoBackup/projects/git/git.pu/t/trash \ndirectory.t7406-submodule-update/merging) registered for path \n'../super/merging'\nSubmodule 'none' (/Users/tb/NoBackup/projects/git/git.pu/t/trash \ndirectory.t7406-submodule-update/none) registered for path '../super/none'\nSubmodule 'rebasing' (/Users/tb/NoBackup/projects/git/git.pu/t/trash \ndirectory.t7406-submodule-update/rebasing) registered for path \n'../super/rebasing'\nSubmodule 'submodule' (/Users/tb/NoBackup/projects/git/git.pu/t/trash \ndirectory.t7406-submodule-update/submodule) registered for path \n'../super/submodule'\ndone.\ndone.\ndone.\ndone.\nEOF\n\ntest_expect_success 'submodule update --init --recursive from \nsubdirectory' '\n     git -C recursivesuper/super reset --hard HEAD^ &&\n     (cd recursivesuper &&\n      mkdir tmp &&\n      cd tmp &&\n      git submodule update --init --recursive ../super >../../actual \n2>../../actual2U &&\n      sort <../../actual2U >../../actual2\n     ) &&\n     test_i18ncmp expect actual &&\n     test_i18ncmp expect2 actual2\n'\n\n\n"},{"id":"353377","messageId":"CAGZ79kb=iWobgBsWQBanRdWFBoj-w2Op=HRC6afUT2giNs18Lg@mail.gmail.com","threadId":"48937","inReplyTo":"208b2ede-4833-f062-16f2-f35b8a8ce099@web.de","subject":"Re: t7406-submodule-update shaky ?","fromName":"Stefan Beller","fromEmail":"sbeller@google.com","sentAt":"2018-07-23T17:01:54Z","receivedAt":"2018-07-23T17:02:08Z","isPatch":false,"sender":{"key":"stefanbeller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/455868?v=4"},"body":"On Sun, Jul 22, 2018 at 2:05 PM Torsten Bögershausen <tboegi@web.de> wrote:\n>\n> It seems that t7406 is sometimes shaky - when checking stderr in test\n> case 4.\n>\n> The order of the submodules may vary, sorting the stderr output makes it\n>\n> more reliable (and somewhat funny to read).\n>\n> Does anybody have a better idea ?\n\nDScho just posted a fix for this, see:\nhttps://public-inbox.org/git/pull.12.git.gitgitgadget@gmail.com/\n"}]}