index b9a22190e86a0b8718b215771352ecefbdf86edc..61498293b99e1cbbb4bfb4de45b6d14488aaddd0 100755 (executable)
test_description='Summary support for submodules
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
'
. ./test-lib.sh
EOF
"
EOF
"
+test_expect_success '--for-status' "
+ git submodule summary --for-status HEAD^ >actual &&
+ test_cmp actual - <<EOF
+# Modified submodules:
+#
+# * sm1 $head6...0000000:
+#
+# * sm2 0000000...$head7 (2):
+# > Add foo9
+#
+EOF
+"
+
test_done
test_done