summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-03-07 14:53:35 -0800
committerJunio C Hamano <gitster@pobox.com>2010-03-07 14:53:35 -0800
commit7f43e75adc1c238f27a89b4e7a30a1c874fd01f9 (patch)
tree493e3f5646c5540b690b28e9136a8b5b3911e15f /t
parente8a285e553f8c6c04820a542b2a28816a9d62d3c (diff)
parent8f69f72fca989b3ba080aab1dc24bfd1709ce83a (diff)
downloadgit-7f43e75adc1c238f27a89b4e7a30a1c874fd01f9.tar.gz
Merge branch 'cc/maint-bisect-paths' into maint-1.6.6
* cc/maint-bisect-paths: bisect: error out when passing bad path parameters
Diffstat (limited to 't')
-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 def397c53a..dc9e8d030a 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