--- t/t1520-test.sh | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/t/t1520-test.sh b/t/t1520-test.sh index 1d0776d..78f31fe 100755 --- a/t/t1520-test.sh +++ b/t/t1520-test.sh @@ -416,4 +416,30 @@ test_expect_success 'same' \ --not-same C D ' +test_expect_success 'clean' \ +' + git test \ + --not-staged \ + --not-unstaged \ + --not-detached \ + --not-untracked \ + --not-rebasing \ + --not-conflicted +' + +test_expect_success 'existence' \ +' + git test \ + --commit-exists M \ + --not-commit-exists N \ + --ref-exists refs/tags/M \ + --not-ref-exists refs/tags/N \ + --branch-exists master \ + --not-branch-exists N \ + --tag-exists D \ + --not-tag-exists N \ + --not-tag-exists master \ + --not-branch-exists A + ' + test_done -- 1.7.5.rc1.23.g7f622 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html