diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-03-04 22:25:23 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-04 22:25:23 -0800 |
commit | ce5044df2a29c4f4979089b072aad43bccb3b9fd (patch) | |
tree | 1432db3858c686410831714052e52fbf4b7bdcdc /t | |
parent | 507665e4f4c87fa4ca8fbe8519e9d0cc36a93d3d (diff) | |
parent | 8f69f72fca989b3ba080aab1dc24bfd1709ce83a (diff) | |
download | git-ce5044df2a29c4f4979089b072aad43bccb3b9fd.tar.gz |
Merge branch 'cc/maint-bisect-paths' into maint
* cc/maint-bisect-paths:
bisect: error out when passing bad path parameters
Diffstat (limited to 't')
-rwxr-xr-x | t/t6030-bisect-porcelain.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t6030-bisect-porcelain.sh b/t/t6030-bisect-porcelain.sh index c51865fdbc..3b042aacd6 100755 --- a/t/t6030-bisect-porcelain.sh +++ b/t/t6030-bisect-porcelain.sh @@ -567,6 +567,11 @@ test_expect_success 'skipping away from skipped commit' ' test "$para3" = "$PARA_HASH3" ' +test_expect_success 'erroring out when using bad path parameters' ' + test_must_fail git bisect start $PARA_HASH7 $HASH1 -- foobar 2> error.txt && + grep "bad path parameters" error.txt +' + # # test_done |