diff --git a/t/t7407-submodule-foreach.sh b/t/t7407-submodule-foreach.sh index 76e0734cea..991aa80c8a 100755 --- a/t/t7407-submodule-foreach.sh +++ b/t/t7407-submodule-foreach.sh @@ -61,9 +61,9 @@ sub3sha1=$(cd super/sub3 && git rev-parse HEAD) cat > expect < ../actual + git submodule foreach "echo \$name-\$path-\$sha1" > ../actual ) && test_cmp expect actual '