Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-03-01 12:09:21 +0300
committerJunio C Hamano <gitster@pobox.com>2010-03-01 12:09:21 +0300
commit9e2b8857413127ae200735fa004bd445b2c8ca61 (patch)
tree95cf29ebc03633d30a458dc4da8c4cf70555b0a7 /t/t6030-bisect-porcelain.sh
parentdc05d73104fda239fc03342e0b53aa5741c53531 (diff)
parent8f69f72fca989b3ba080aab1dc24bfd1709ce83a (diff)
Merge branch 'cc/maint-bisect-paths'
* cc/maint-bisect-paths: bisect: error out when passing bad path parameters
Diffstat (limited to 't/t6030-bisect-porcelain.sh')
-rwxr-xr-xt/t6030-bisect-porcelain.sh5
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