Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/submodule-update-initial-runs-custom-script' into maint
author
Junio C Hamano
<gitster@pobox.com>
Tue, 28 Mar 2017 20:52:29 +0000
(13:52 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 28 Mar 2017 20:52:29 +0000
(13:52 -0700)
A test fix.
* sb/submodule-update-initial-runs-custom-script:
t7406: correct test case for submodule-update initial population
t/t7406-submodule-update.sh
patch
|
blob
|
history
raw
(from parent 1:
27ee56f
)
diff --git
a/t/t7406-submodule-update.sh
b/t/t7406-submodule-update.sh
index 347857fa7c7cb12a4bc9fd6a2f5373347a02db5c..4ac386d98b8ebdfb4808b9a8119900ee23b5dfa9 100755
(executable)
--- a/
t/t7406-submodule-update.sh
+++ b/
t/t7406-submodule-update.sh
@@
-442,11
+442,11
@@
test_expect_success 'submodule update - command in .git/config catches failure -
'
test_expect_success 'submodule update - command run for initial population of submodule' '
- cat
<<-\ EOF >expect
+ cat
>expect <<-EOF &&
Execution of '\''false $submodulesha1'\'' failed in submodule path '\''submodule'\''
- EOF
&&
+ EOF
rm -rf super/submodule &&
- test_must_fail git -C super submodule update
>../
actual &&
+ test_must_fail git -C super submodule update
2>
actual &&
test_cmp expect actual &&
git -C super submodule update --checkout
'