We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27ee56f + a4dded0 commit 04b4f7dCopy full SHA for 04b4f7d
t/t7406-submodule-update.sh
@@ -442,11 +442,11 @@ test_expect_success 'submodule update - command in .git/config catches failure -
442
'
443
444
test_expect_success 'submodule update - command run for initial population of submodule' '
445
- cat <<-\ EOF >expect
+ cat >expect <<-EOF &&
446
Execution of '\''false $submodulesha1'\'' failed in submodule path '\''submodule'\''
447
- EOF &&
+ EOF
448
rm -rf super/submodule &&
449
- test_must_fail git -C super submodule update >../actual &&
+ test_must_fail git -C super submodule update 2>actual &&
450
test_cmp expect actual &&
451
git -C super submodule update --checkout
452
0 commit comments