]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t7506-status-submodule.sh
Merge branch 'nd/ls-files-sparse-fix'
[git.git] / t / t7506-status-submodule.sh
index d9a08aac56f8edf002a126cba83172abf5015034..3ca17abad1847704f222f1cfe744463debfc96ff 100755 (executable)
@@ -19,8 +19,8 @@ test_expect_success 'status clean' '
        git status |
        grep "nothing to commit"
 '
-test_expect_success 'status -a clean' '
-       git status -a |
+test_expect_success 'commit --dry-run -a clean' '
+       git commit --dry-run -a |
        grep "nothing to commit"
 '
 test_expect_success 'rm submodule contents' '
@@ -31,7 +31,7 @@ test_expect_success 'status clean (empty submodule dir)' '
        grep "nothing to commit"
 '
 test_expect_success 'status -a clean (empty submodule dir)' '
-       git status -a |
+       git commit --dry-run -a |
        grep "nothing to commit"
 '