mirror of
https://github.com/git/git.git
synced 2026-02-07 08:15:23 +00:00
fixup! Merge pull request #158 from kasal/test-simplify
This reverts commit56e5a97d11, reversing changes made to5769bd5de2. We will merge the `win-tests-rebase` branch in a moment which makes this pull request obsolete. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -77,6 +77,10 @@ test_expect_success 'test basic "submodule foreach" usage' '
|
||||
git config foo.bar zar &&
|
||||
git submodule foreach "git config --file \"\$toplevel/.git/config\" foo.bar"
|
||||
) &&
|
||||
if test_have_prereq MINGW
|
||||
then
|
||||
dos2unix actual
|
||||
fi &&
|
||||
test_i18ncmp expect actual
|
||||
'
|
||||
|
||||
@@ -174,6 +178,10 @@ test_expect_success 'test messages from "foreach --recursive"' '
|
||||
cd clone2 &&
|
||||
git submodule foreach --recursive "true" > ../actual
|
||||
) &&
|
||||
if test_have_prereq MINGW
|
||||
then
|
||||
dos2unix actual
|
||||
fi &&
|
||||
test_i18ncmp expect actual
|
||||
'
|
||||
|
||||
@@ -192,7 +200,11 @@ test_expect_success 'test "foreach --quiet --recursive"' '
|
||||
cd clone2 &&
|
||||
git submodule foreach -q --recursive "echo \$name-\$path" > ../actual
|
||||
) &&
|
||||
test_cmp_text expect actual
|
||||
if test_have_prereq MINGW
|
||||
then
|
||||
dos2unix actual
|
||||
fi &&
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_expect_success 'use "update --recursive" to checkout all submodules' '
|
||||
@@ -239,6 +251,10 @@ test_expect_success 'test "status --recursive"' '
|
||||
cd clone3 &&
|
||||
git submodule status --recursive > ../actual
|
||||
) &&
|
||||
if test_have_prereq MINGW
|
||||
then
|
||||
dos2unix actual
|
||||
fi &&
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user