X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7401-submodule-summary.sh;h=61498293b99e1cbbb4bfb4de45b6d14488aaddd0;hb=969c877506cf8cc760c7b251fef6c5b6850bfc19;hp=b9a22190e86a0b8718b215771352ecefbdf86edc;hpb=d6958a1a32814af69a7571daa45252018c61f969;p=git.git diff --git a/t/t7401-submodule-summary.sh b/t/t7401-submodule-summary.sh index b9a22190e..61498293b 100755 --- a/t/t7401-submodule-summary.sh +++ b/t/t7401-submodule-summary.sh @@ -5,7 +5,7 @@ test_description='Summary support for submodules -This test tries to verify the sanity of summary subcommand of git-submodule. +This test tries to verify the sanity of summary subcommand of git submodule. ' . ./test-lib.sh @@ -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