X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7401-submodule-summary.sh;h=bf12dbdeef6e307850a91eb6be5ebe537b2de0c8;hb=e9dd7518666ae8bfb3d7ddbca1a00c018d2e79e8;hp=0f3c42ab35891d1dd671649ff38074a1d83e2a5b;hpb=a1c0dca43a3513574e5bebb38989671960cdaf35;p=git.git diff --git a/t/t7401-submodule-summary.sh b/t/t7401-submodule-summary.sh index 0f3c42ab3..bf12dbdee 100755 --- a/t/t7401-submodule-summary.sh +++ b/t/t7401-submodule-summary.sh @@ -30,7 +30,7 @@ commit_file () { } test_create_repo sm1 && -add_file . foo +add_file . foo >/dev/null head1=$(add_file sm1 foo1 foo2) @@ -192,4 +192,17 @@ test_expect_success 'given commit' " EOF " +test_expect_success '--for-status' " + git submodule summary --for-status HEAD^ >actual && + test_cmp actual - < Add foo9 +# +EOF +" + test_done