diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/t7406-submodule-update.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh index f604ef7a72..ccdc2f9039 100755 --- a/t/t7406-submodule-update.sh +++ b/t/t7406-submodule-update.sh @@ -599,7 +599,8 @@ test_expect_success 'submodule update - update=none in .git/config but --checkou ) && git diff --raw | grep " submodule" && git submodule update --checkout && - test_must_fail git diff --raw \| grep " submodule" && + git diff --raw >out && + ! grep " submodule" out && (cd submodule && test_must_fail compare_head ) && |